Debian Codegraph @

gcc/testsuite/g++.dg/lto/pr82414_0.C

raw
1 // PR c++/82414
2 // { dg-lto-do link }
3 // { dg-lto-options { { -flto -g } } }
4
5 typedef __attribute__ ((__aligned__ (16))) struct S { __extension__ unsigned long long Part[2]; } T; // bogus warning "violates one definition rule"
6
7 int
8 main ()
9 {
10 T tf;
11 asm volatile ("" : : "g" (__alignof__(tf)), "g" (__alignof__ (struct S)), "g" (__alignof__ (T)));
12 return 0;
13 }