Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
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
();
};