1 // RUN: %clang -g -std=c++11 -S -emit-llvm %s -o - | FileCheck %s
7 template<typename T
, typename T2
= int>
12 // splitting these over multiple lines to make sure the right token is used for
21 // CHECK: !DIGlobalVariable(name: "bi",{{.*}} type: [[BINT:![0-9]+]]
23 // CHECK: !DIGlobalVariable(name: "bf",{{.*}} type: [[BFLOAT:![0-9]+]]
24 // CHECK: [[BFLOAT]] = !DIDerivedType(tag: DW_TAG_typedef, name: "bar<float>"
26 // CHECK: !DIGlobalVariable(name: "bz",{{.*}} type: [[BBAZ:![0-9]+]]
27 // CHECK: [[BBAZ]] = !DIDerivedType(tag: DW_TAG_typedef, name: "bar<baz<int> >"
31 // CHECK: !DIGlobalVariable(name: "n",{{.*}} type: [[NARF:![0-9]+]]
33 narf
// CHECK: [[NARF]] = !DIDerivedType(tag: DW_TAG_typedef, name: "narf"
34 // CHECK-SAME: line: 142
40 // CHECK: !DIDerivedType(tag: DW_TAG_typedef, name: "tv<int>"
44 // CHECK: !DIDerivedType(tag: DW_TAG_typedef, name: "v"
47 // CHECK: [[BINT]] = !DIDerivedType(tag: DW_TAG_typedef, name: "bar<int>"
48 // CHECK-SAME: line: 42,