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