Eric Christopher | 16d482e | 2011-08-19 23:41:35 +0000 | [diff] [blame] | 1 | // PR1013 |
2 | // Check to make sure debug symbols use the correct name for globals and | ||||
3 | // functions. Will not assemble if it fails to. | ||||
4 | // RUN: %clang_cc1 -emit-llvm -g -o - %s | FileCheck %s | ||||
5 | |||||
Eric Christopher | 51abac1 | 2011-08-19 23:46:18 +0000 | [diff] [blame] | 6 | // CHECK: f\01oo" |
Eric Christopher | 16d482e | 2011-08-19 23:41:35 +0000 | [diff] [blame] | 7 | int foo __asm__("f\001oo"); |
8 | |||||
9 | int bar() { | ||||
10 | return foo; | ||||
11 | } |