Clang Project

clang_source_code/test/Import/template-specialization/test.cpp
1// RUN: clang-import-test -import %S/Inputs/T.cpp -expression %s
2
3void expr() {
4  A<int>::B b1;
5  A<bool>::B b2;
6  b1.f + b2.g;
7}
8
9static_assert(f<char>() == 0, "");
10static_assert(f<int>() == 4, "");
11