1// Build don't link:
2// prms-id: 11482
3
4void *vp;
5
6enum E { bad, ok } e;
7
8void foo() {
9  e = (E)vp;		// ERROR -
10}
11