Add execution tests of ARM EXT intrinsics
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-friend-2.C
blob36799b435877c3b31242902521a1ea417e138c54
1 // { dg-do compile { target c++11 } }
3 template<typename T> void f(T);
5 template <class T> class A {
6   friend constexpr void f<>(int);  // { dg-error "'constexpr' is not allowed" }
7 };