[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / debug-info-atomic.c
blob3de0d3585d2916ec426ea5d56394fc7d9fae00e4
1 // RUN: %clang -g -c -std=c11 -S -emit-llvm -o - %s | FileCheck %s
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;