1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -verify %s 2*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 3*0a6a1f1dSLionel Sambuc // expected-no-diagnostics 4*0a6a1f1dSLionel Sambuc 5*0a6a1f1dSLionel Sambuc // FIXME: These templates should trigger errors in C++11 mode. 6*0a6a1f1dSLionel Sambuc 7*0a6a1f1dSLionel Sambuc template <char const *p> 8*0a6a1f1dSLionel Sambuc class A { get_p()9*0a6a1f1dSLionel Sambuc char const *get_p() { return *p; } 10*0a6a1f1dSLionel Sambuc }; 11*0a6a1f1dSLionel Sambuc template <int p> 12*0a6a1f1dSLionel Sambuc class B { get_p()13*0a6a1f1dSLionel Sambuc char const *get_p() { return p; } 14*0a6a1f1dSLionel Sambuc }; 15*0a6a1f1dSLionel Sambuc 16