blob: 41859aa3981118060c7932ebd61cc25569ea6aa5 (
plain)
1
2
3
4
5
6
|
// { dg-do assemble }
// 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.
int bar; // { dg-error "" }
typedef int bar; // { dg-error "" }
|