Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
enum3.C
blob: 81e6963567811aa2141859e83d92aabdcc7c87f1 [
file
] [
log
] [
blame
]
// PR c++/28261
struct
A
{};
// { dg-message "A::A" }
// { dg-message "defined here" "" { target *-*-* } .-1 }
A
::
A
(
enum
{
e
})
{}
// { dg-error "no declaration matches" }
// { dg-error "in parameter types" "" { target *-*-* } .-1 }