Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
struct-as-enum1.C
blob: 016c6035b93a53de27f3a45a7b8e221347595264 [
file
] [
log
] [
blame
]
// PR c++/163, PR c++/8595
// Origin: <martin@loewis.home.cs.tu-berlin.de>, Mark Leone <mleone@pixar.com>
// { dg-do compile }
namespace
N
{
struct
A
{};
}
typedef
enum
N
::
A B
;
// { dg-error "enum" }