Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attr-expr1.C
blob: 990e710e40ca395ab8d8eabc69ca0cfcec18dd5c [
file
] [
log
] [
blame
]
// PR c++/95192
template
<
typename
T
>
__attribute__
((
assume_aligned
(
sizeof
(
int
(
T
())))))
// { dg-message "function type" }
T
*
f
();
void
test21
()
{
void
*
p
=
f
<void>
()
// { dg-error "no match" }
}