☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib64.C
☽
☼
gcc/testsuite/g++.dg/ext/attrib64.C
code
plain
raw
1
// PR c++/104667
2
// { dg-do compile }
3
4
template<typename> struct A {
5
enum E { // { dg-warning "only applies to function types" }
6
e __attribute__ ((access(read_only))),
7
f __attribute__ ((deprecated))
8
};
9
};
10
11
A<int> a;