Imported Upstream version 4.7.3
[platform/upstream/gcc48.git] / gcc / testsuite / g++.dg / cpp0x / noexcept18.C
1 // PR c++/54207
2 // { dg-do compile }
3 // { dg-options "-std=c++11" }
4
5 typedef bool B;
6 constexpr B foo () { return true; }
7
8 void
9 bar () noexcept (foo ())
10 {
11 }