PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr77948-4.C
blob7b66b983bfa039f8052dcfe39fd123abe3b686fb
1 // PR c++/77948
2 // { dg-do compile }
3 // { dg-options "-std=c++11 -std=c++98" }
5 void
6 foo ()
8   double qfp = 1.0q; // { dg-error "unsupported" "" { target { ! has_q_floating_suffix } } }
9   double Qfp = 1.0Q; // { dg-error "unsupported" "" { target { ! has_q_floating_suffix } } }