[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaTemplate / instantiate-expr-basic.cpp
bloba266a6584b06e7ebff3061c260a851c812e4db90
1 // RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -std=c++11 %s
3 template <typename T>
4 struct S {
5 void f() {
6 __func__; // PredefinedExpr
7 10; // IntegerLiteral
8 10.5; // FloatingLiteral
9 'c'; // CharacterLiteral
10 "hello"; // StringLiteral
11 true; // CXXBooleanLiteralExpr
12 nullptr; // CXXNullPtrLiteralExpr
13 __null; // GNUNullExpr
17 template struct S<int>;