rt_gccstream/gcc/testsuite/g++.old-deja/g++.other/asm2.C

13 lines
190 B
C

// { dg-do assemble }
// Origin: Mark Mitchell <mark@codesourcery.com>
struct C
{
void f ();
};
void C::f ()
{
asm ("" : : "m" (f)); // { dg-error "" } type could not be determined
}