summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/mangle2.C
blob: 720c3c3ae987a34fe4a902072e9e04051eab414a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do assemble  }
// { dg-options "" }

typedef struct {
} color;

void foo(color) {
}

#ifdef sparc
void f1() asm("foo__FG3$_0");
void f1() { }
void f2() asm("_foo__FG3$_0");
void f2() { }
void f3() asm("__foo__FG3$_0");
void f3() { }
#endif