Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
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" }