brintos

brintos / llvm-project-archived public Read only

0
0
Text · 325 B · 3e7e4bc Raw
14 lines · cpp
1// RUN: clang-import-test -dump-ast -import %S/Inputs/T.cpp -expression %s | FileCheck %s2 3// CHECK: |-ClassTemplateSpecializationDecl4// CHECK-SAME: <line:4:1, line:8:1> line:4:20 struct A5 6void expr() {7  A<int>::B b1;8  A<bool>::B b2;9  b1.f + b2.g;10}11 12static_assert(f<char>() == 0, "");13static_assert(f<int>() == 4, "");14