1*45be55d1SSebastian Redl // RUN: clang-cc -fsyntax-only -Wno-unused-value -std=c++0x %s 2*45be55d1SSebastian Redl 3*45be55d1SSebastian Redl template <typename T> 4*45be55d1SSebastian Redl struct S { 5*45be55d1SSebastian Redl void f() { 6*45be55d1SSebastian Redl __func__; // PredefinedExpr 7*45be55d1SSebastian Redl 10; // IntegerLiteral 8*45be55d1SSebastian Redl 10.5; // FloatingLiteral 9*45be55d1SSebastian Redl 'c'; // CharacterLiteral 10*45be55d1SSebastian Redl "hello"; // StringLiteral 11*45be55d1SSebastian Redl true; // CXXBooleanLiteralExpr 12*45be55d1SSebastian Redl nullptr; // CXXNullPtrLiteralExpr 13*45be55d1SSebastian Redl __null; // GNUNullExpr 14*45be55d1SSebastian Redl } 15*45be55d1SSebastian Redl }; 16*45be55d1SSebastian Redl 17*45be55d1SSebastian Redl template struct S<int>; 18