Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/noexcept12.C

raw
1 // Test that we handle merging with deferred noexcept.
2 // { dg-do compile { target c++11 } }
3
4 template <class U>
5 struct O
6 {
7 template <class T>
8 void f() noexcept(noexcept(T()));
9 };
10
11 template<> template<> void O<int>::f<int>() noexcept { }