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