From ec2b103c267a06a66e926f62cd96767b280f5cf5 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Tue, 2 Jun 2009 17:58:47 +0000 Subject: Import Clang, at r72732. --- test/CodeGen/no-common.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CodeGen/no-common.c (limited to 'test/CodeGen/no-common.c') diff --git a/test/CodeGen/no-common.c b/test/CodeGen/no-common.c new file mode 100644 index 000000000000..190873c745fe --- /dev/null +++ b/test/CodeGen/no-common.c @@ -0,0 +1,6 @@ +// RUN: clang -emit-llvm -S -o %t %s && +// RUN: grep '@x = common global' %t && +// RUN: clang -fno-common -emit-llvm -S -o %t %s && +// RUN: grep '@x = global' %t + +int x; -- cgit v1.2.3