Home
last modified time | relevance | path

Searched refs:ExceptionIf (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
Dimplicit-exception-spec.cpp3 template<bool b> struct ExceptionIf { static int f(); }; struct
4 template<> struct ExceptionIf<false> { typedef int f; }; struct
27 …int n = ExceptionIf<noexcept(TemplateArg())>::f(); // expected-error {{cannot use defaulted defaul…
35 …int n = ExceptionIf<noexcept(Nested())>::f(); // expected-note {{implicit default constructor for …
44 int n = ExceptionIf<noexcept(Nested2())>::f();
63 …T(int = ExceptionIf<noexcept(Default())::f()); // expected-error {{call to implicitly-deleted defa…