Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / g++.dg / opt / asm1.C
blob333533526ba0bd6a5ab782c378abebd50bf15e75
1 // PR c++/6747
2 // { dg-do compile }
3 // { dg-options "-O" }
5 void foo()
7   union { double d; char c[sizeof(double)]; } tmp;
8   __asm__ ("" : "=m" (tmp.d));  // { dg-bogus "not directly addressable" "double sized union element should be addressible" { xfail xstormy16-*-* } }