Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib64.C
blob: 4a4505fc4b20a5c7b96645b5618c259cd299533e [
file
] [
log
] [
blame
]
// PR c++/104667
// { dg-do compile }
template
<typename>
struct
A
{
enum
E
{
// { dg-warning "only applies to function types" }
e __attribute__
((
access
(
read_only
))),
f __attribute__
((
deprecated
))
};
};
A
<int>
a
;