brintos

brintos / llvm-project-archived public Read only

0
0
Text · 440 B · 3de0d35 Raw
9 lines · c
1// RUN: %clang -g -c -std=c11 -S -emit-llvm -o - %s | FileCheck %s2 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