Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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 }