blob: 074fe694149040fd783f4924745efdb59c55ddfa [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -std=c++0x %s
Sebastian Redl15853a12009-05-16 18:59:35 +00002
3template <typename T>
4struct 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
14 }
15};
16
17template struct S<int>;