1 
2 #if __nvptx__
3 /* Doesn't like . in labels.  */
4 #define SEP "$"
5 #else
6 #define SEP "."
7 #endif
8 
foo(void)9 int foo(void)
10 {
11   static int x asm ("x") = 3;
12   return x++;
13 }
14 
15 int X2 asm ("x" SEP "0") = 4;
16 int X3 asm ("_x" SEP "0") = 5;
17 
18