summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/cpp0x/noexcept18.C
blob: e851b8600517a4ae377d1a6bf14c39d7ffdec87b (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/54207
// { dg-do compile { target c++11 } }

typedef bool B;
constexpr B foo () { return true; }

void
bar () noexcept (foo ())
{
}
OpenPOWER on IntegriCloud