warn_cxx0x.C: New.

2007-01-24  Douglas Gregor  <dgregor@osl.iu.edu>

	* g++.dg/cpp0x/warn_cxx0x.C: New.

From-SVN: r121160
This commit is contained in:
Douglas Gregor 2007-01-25 04:02:15 +00:00 committed by Doug Gregor
parent 527cab2096
commit 18103407c6
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
* g++.dg/cpp0x/warn_cxx0x.C: New.
2007-01-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/builtins-20.c: Test builtin carg.

View file

@ -0,0 +1,7 @@
// { dg-options "-Wc++0x-compat" }
int static_assert; // { dg-warning "will become a keyword" }
void foo()
{
static_assert = 5;
}