aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/asm2.C
blob: 6a9650470c19166e5a8b88037774c8ba9e07d9e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>

struct C
{
  void f ();
};

void C::f ()
{
  asm ("" : : "m" (f)); // ERROR - type could not be determined
}