Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error58.C
blob: 4e96baf85f14bc95a9fc627f4b1e6fedc076464f [
file
] [
log
] [
blame
]
// PR c++/78647
// { dg-do compile { target c++11 } }
// { dg-options "-w" }
struct
A
;
void
foo
();
void
f
()
{
alignas
(
foo
(
A
));
}
// { dg-error "expected" }