__func__.C: New.

2007-12-13  Douglas Gregor  <doug.gregor@gmail.com>

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

From-SVN: r130911
This commit is contained in:
Douglas Gregor 2007-12-13 19:29:52 +00:00 committed by Doug Gregor
parent 76ce039e60
commit a2b3eb5c97
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2007-12-13 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/cpp0x/__func__.C: New.
2007-12-13 Uros Bizjak <ubizjak@gmail.com>
PR target/34435

View file

@ -0,0 +1,6 @@
// { dg-options "-std=c++0x -pedantic" }
const char* foo()
{
return __func__;
}