teak-llvm/clang/test/CodeGen/no-common.c
Daniel Dunbar 5618e98f33 Update tests to use %clang instead of 'clang', and forcibly disable use of '
clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to
garbage).

llvm-svn: 91460
2009-12-15 22:01:24 +00:00

7 lines
163 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;