1 // RUN: %clang -g -c -std=c11 -S -emit-llvm -o - %s | FileCheck %s 2 3 // CHECK: !DIGlobalVariable(name: "i" 4 // CHECK-SAME: type: ![[T:.*]], isLocal: false, isDefinition: true) 5 // CHECK: ![[T]] = !DIDerivedType(tag: DW_TAG_const_type, baseType: ![[BT:.*]]) 6 // CHECK: ![[BT]] = !DIDerivedType(tag: DW_TAG_atomic_type, baseType: ![[BTT:.*]]) 7 // CHECK: ![[BTT]] = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) 8 _Atomic const int i; 9