diff options
Diffstat (limited to 'test/CodeGen/extern-block-var.c')
-rw-r--r-- | test/CodeGen/extern-block-var.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/extern-block-var.c b/test/CodeGen/extern-block-var.c new file mode 100644 index 0000000..e8de3e7 --- /dev/null +++ b/test/CodeGen/extern-block-var.c @@ -0,0 +1,6 @@ +// RUN: clang-cc %s -emit-llvm -o %t + +int f() { + extern int a; + return a; +} |