opnsense-src/test/CodeGen/no-common.c

7 lines
163 B
C
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang -emit-llvm -S -o %t %s
2009-11-18 09:59:57 -05:00
// RUN: grep '@x = common global' %t
2010-01-01 05:34:51 -05:00
// RUN: %clang -fno-common -emit-llvm -S -o %t %s
2009-06-02 13:58:47 -04:00
// RUN: grep '@x = global' %t
int x;