Daniel Dunbar | 80737ad | 2009-12-15 22:01:24 +0000 | [diff] [blame] | 1 | // RUN: %clang -ccc-host-triple i386-apple-darwin10 -S -g -dA %s -o - | FileCheck %s |
Devang Patel | f6a39b7 | 2009-10-20 18:26:30 +0000 | [diff] [blame] | 2 | int global; |
Devang Patel | 7fac68a | 2010-08-10 01:36:24 +0000 | [diff] [blame] | 3 | // CHECK: ascii "localstatic" ## DW_AT_name |
Devang Patel | 5d822f0 | 2010-04-29 17:48:37 +0000 | [diff] [blame] | 4 | // CHECK: asciz "global" ## External Name |
Devang Patel | 5d822f0 | 2010-04-29 17:48:37 +0000 | [diff] [blame] | 5 | int main() { |
| 6 | static int localstatic; |
| 7 | return 0; |
| 8 | } |