mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00:00
5f4740d3e5
This reapplies r289921. llvm-svn: 290155
9 lines
440 B
C
9 lines
440 B
C
// RUN: %clang -g -c -std=c11 -S -emit-llvm -o - %s | FileCheck %s
|
|
|
|
// CHECK: !DIGlobalVariable(name: "i"
|
|
// CHECK-SAME: type: ![[T:.*]], isLocal: false, isDefinition: true)
|
|
// CHECK: ![[T]] = !DIDerivedType(tag: DW_TAG_const_type, baseType: ![[BT:.*]])
|
|
// CHECK: ![[BT]] = !DIDerivedType(tag: DW_TAG_atomic_type, baseType: ![[BTT:.*]])
|
|
// CHECK: ![[BTT]] = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
|
|
_Atomic const int i;
|