commit | 2348d9784590ae2b5cb7bff546083863ca10f06e | [log] [tgz] |
---|---|---|
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | Sat Feb 16 22:30:38 2008 +0000 |
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | Sat Feb 16 22:30:38 2008 +0000 |
tree | dd018fe82a4a214352eb6d5a2c7eab739708ebdf | |
parent | 22ff8953856e1a6754b78bf5d86865c66f876889 [diff] [blame] |
Implement extern block var. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47223 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/extern-block-var.c b/test/CodeGen/extern-block-var.c new file mode 100644 index 0000000..ea8df7b --- /dev/null +++ b/test/CodeGen/extern-block-var.c
@@ -0,0 +1,6 @@ +// RUN: clang %s -emit-llvm + +int f() { + extern int a; + return a; +}