// RUN: %clang_cc1 -fsyntax-only -verify -fcxx-exceptions -std=c++11 %s namespace MissingOnTemplate { template void foo(T) noexcept(true); // expected-note {{previous}} template void foo(T); // expected-error {{missing exception specification 'noexcept(true)'}} void test() { foo(0); } }