Fix typo in test case
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / enum1.C
blobf692991a44242fa9e3232d415d0d44ad0942ff1c
1 extern "C" void abort();
3 struct A
5   enum { a = 3}* p;
6   int f() { return (int) a; }
7 };
9 int main()
11   A a;
13   if (a.f() != 3)
14     abort();