Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-30.C
blob: 537dec50e97c7eb16bf63e82ae5a01170e72f754 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// PR c++/35074
template
<
typename
T
>
struct
A
{
void
foo
()
const
;
}
[[
gnu
::
aligned
(
4
)]];
// { dg-warning "ignored" }
template
<
typename
T
>
void
A
<
T
>::
foo
()
const
{}