Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr77948-1.C

raw
1 // PR c++/77948
2 // { dg-do compile }
3 // { dg-options "-std=c++11 -std=gnu++11" }
4
5 void
6 foo ()
7 {
8 auto qfp = 1.0q; // { dg-error "unsupported" "" { target { ! has_q_floating_suffix } } }
9 auto Qfp = 1.0Q; // { dg-error "unsupported" "" { target { ! has_q_floating_suffix } } }
10 }