view gcc/testsuite/g++.dg/cpp0x/pr77948-1.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

// PR c++/77948
// { dg-do compile }
// { dg-options "-std=c++11 -std=gnu++11" }

void
foo ()
{
  auto qfp = 1.0q; // { dg-error "unsupported" "" { target { ! has_q_floating_suffix } } }
  auto Qfp = 1.0Q; // { dg-error "unsupported" "" { target { ! has_q_floating_suffix } } }
}