19 lines · c
1/* RUN: %clang_cc1 -std=c89 -emit-llvm -o - %s | FileCheck %s2 RUN: %clang_cc1 -std=c99 -emit-llvm -o - %s | FileCheck %s3 RUN: %clang_cc1 -std=c11 -emit-llvm -o - %s | FileCheck %s4 RUN: %clang_cc1 -std=c17 -emit-llvm -o - %s | FileCheck %s5 RUN: %clang_cc1 -std=c2x -emit-llvm -o - %s | FileCheck %s6 */7 8/* WG14 DR011: yes9 * Merging of declarations for linked identifier10 *11 * Note, more of this DR is tested in dr0xx.c12 */13 14int i[10];15int j[];16 17// CHECK: @i = {{.*}}global [10 x i32] zeroinitializer18// CHECK-NEXT: @j = {{.*}}global [1 x i32] zeroinitializer19