Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
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
();
};