Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify -fcxx-exceptions -std=c++11 %s
      2 
      3 namespace MissingOnTemplate {
      4   template<typename T> void foo(T) noexcept(true); // expected-note {{previous}}
      5   template<typename T> void foo(T); // expected-error {{missing exception specification 'noexcept(true)'}}
      6   void test() { foo(0); }
      7 }
      8