Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-6812.75.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
error34.C
blob: d6f3eb590ea2728f6cbab0165f001a73c58d6f59 [
file
] [
log
] [
blame
]
// PR c++/46538
// { dg-do compile }
// { dg-options "" }
S
()
:
str
(
__PRETTY_FUNCTION__
)
{}
// { dg-error "forbids declaration" "decl" }
// { dg-error "only constructors" "constructor" { target *-*-* } 5 }