summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/scoping7.C
blob: 6ffa907f62a1bfd07cb77b124b7e970b08264b8e (plain)
1
2
3
4
5
6
// Bug: g++ doesn't flag name collisions between types and non-types as
// errors.  It shouldn't for class names, but it should for typedefs.
// Build don't link:

int bar;			// ERROR - 
typedef int bar;		// ERROR -