Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pure1.C
blob: 2b6f28b7df5111c44495e87b3c79fc4c817291b6 [
file
] [
log
] [
blame
]
// PR c++/28506
struct
A
{
virtual
void
*
foo
()
=
1
;
// { dg-error "pure" }
};
struct
B
{
void
operator
()()()
=
1
;
// { dg-error "pure|function|initializer" }
};