aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.other/asm2.C
blob: d5fd5a922b097b8c622a008ebd1302c937d54a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { 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
}