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