Eric Christopher | 7c92342 | 2010-12-02 02:13:27 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=CHECK-DEFAULT |
2 | // RUN: %clang_cc1 %s -fno-common -emit-llvm -o - | FileCheck %s -check-prefix=CHECK-NOCOMMON | ||||
Daniel Dunbar | 069afd5 | 2009-03-26 16:37:00 +0000 | [diff] [blame] | 3 | |
Eric Christopher | 7c92342 | 2010-12-02 02:13:27 +0000 | [diff] [blame^] | 4 | // CHECK-DEFAULT: @x = common global |
5 | // CHECK-NOCOMMON: @x = global | ||||
Daniel Dunbar | 069afd5 | 2009-03-26 16:37:00 +0000 | [diff] [blame] | 6 | int x; |