1 // The FCD doesn't allow typedefs and static_assert in constexpr functions,
3 // { dg-do compile { target c++11 } }
4 // { dg-options "-pedantic" }
9 typedef T T2; // { dg-warning "constexpr" "" { xfail *-*-* } }
10 static_assert (T2(0) == T(0), ""); // { dg-warning "constexpr" "" { xfail *-*-* } }
16 constexpr int i = f(42);