Files
llvm-project/clang/test/CodeGen/no-common.c
Daniel Dunbar adf511c056 Driver: Forward -fno-common to clang.
- <rdar://problem/6710978> ccc/clang-driver ignore -fno-common

llvm-svn: 67762
2009-03-26 16:37:00 +00:00

7 lines
170 B
C

// 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;