Debian Codegraph @

gcc/testsuite/g++.dg/ext/asm12.C

raw
1 // PR c++/55619
2 // { dg-do compile }
3
4 typedef int V __attribute__ ((vector_size (4 * sizeof (int))));
5
6 static const V C = { 0x201, 0, 0, 0 };
7 static const int D = 0x201;
8
9 void
10 f ()
11 {
12 __asm volatile ("" : : "m" (C));
13 __asm volatile ("" : : "m" (D));
14 }