view gcc/testsuite/g++.dg/other/pr71728.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++/71728
// { dg-do compile }
// { dg-options "-std=gnu++14 -Wall" }

int
foo ()
{
  if (({ goto test; test: 1; }) != 1)
    return 1;
  return 2;
}