svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.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" } */