view gcc/testsuite/g++.dg/spellcheck-pr80177.C @ 118:fd00160c1b76

ifdef TARGET_64BIT
author mir3636
date Tue, 27 Feb 2018 15:01:35 +0900
parents 04ced10e8804
children 1830386684a0
line wrap: on
line source

// { dg-do compile { target c++11 } }

void pr80177 ()
{
  static_assertion (1 == 0, "1 == 0"); // { dg-error "3: 'static_assertion' was not declared in this scope" }
  // { dg-message "3: suggested alternative: 'static_assert'" "" { target *-*-* } .-1 }
}