Sign in
llvm
/
llvm-archive
/
67ca873b99b7e631820d261833301c41ad8006b1
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib18.C
blob: 0c3a072b5b36ad867b28f0b9a160df22309d5628 [
file
] [
log
] [
blame
]
// PR c++/17542
// Test that we warn when an attribute preceding the class-key is ignored.
// { dg-do compile }
__attribute__
((
packed
))
struct
A
{
// { dg-warning "attribute" }
char
c
;
int
x
;
void
f
();
};