Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / local5.C
blob705dca39eb0a07b29f964963e4405fbb84352c67
1 struct Attribute { };
3 template <class T> bool operator == (const Attribute &attr, const T &value);
5 enum {
6   anon = 123
7 };
9 void test(int foo)
11   if (foo == anon) ;  /* { dg-bogus "anonymous type" } */