]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/pr77948-2.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr77948-2.C
1 // PR c++/77948
2 // { dg-do compile }
3 // { dg-options "-std=gnu++11 -std=c++11" }
4
5 void
6 foo ()
7 {
8 auto qfp = 1.0q; // { dg-error "unable to find numeric literal operator" }
9 auto Qfp = 1.0Q; // { dg-error "unable to find numeric literal operator" }
10 }
This page took 0.034416 seconds and 5 git commands to generate.