Add execution tests of ARM EXT intrinsics
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-targ.C
blobb5171141f94f0964c23ccc3c3eb4535a287db8a8
1 // { dg-do compile { target c++11 } }
3 struct A
5   constexpr operator double() { return 1.0; }
6 };
8 template <int I>
9 struct B
10 { };
12 constexpr A a { };
13 B<a> b;                         // { dg-error "template argument|invalid type" }