[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / C / drs / dr011.c
blobda56956516625729b4e6471c5b57de2786063bad
1 /* RUN: %clang_cc1 -std=c89 -emit-llvm -o - %s | FileCheck %s
2 RUN: %clang_cc1 -std=c99 -emit-llvm -o - %s | FileCheck %s
3 RUN: %clang_cc1 -std=c11 -emit-llvm -o - %s | FileCheck %s
4 RUN: %clang_cc1 -std=c17 -emit-llvm -o - %s | FileCheck %s
5 RUN: %clang_cc1 -std=c2x -emit-llvm -o - %s | FileCheck %s
6 */
8 /* WG14 DR011: yes
9 * Merging of declarations for linked identifier
11 * Note, more of this DR is tested in dr0xx.c
14 int i[10];
15 int j[];
17 // CHECK: @i = {{.*}}global [10 x i32] zeroinitializer
18 // CHECK-NEXT: @j = {{.*}}global [1 x i32] zeroinitializer