From: Douglas Gregor Date: Thu, 13 Dec 2007 19:29:52 +0000 (+0000) Subject: __func__.C: New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2b3eb5c97d0b35a55de39878e8fe2231b03de53;p=gcc.git __func__.C: New. 2007-12-13 Douglas Gregor * g++.dg/cpp0x/__func__.C: New. From-SVN: r130911 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 234c425cb34..fc932025527 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-12-13 Douglas Gregor + + * g++.dg/cpp0x/__func__.C: New. + 2007-12-13 Uros Bizjak PR target/34435 diff --git a/gcc/testsuite/g++.dg/cpp0x/__func__.C b/gcc/testsuite/g++.dg/cpp0x/__func__.C new file mode 100644 index 00000000000..1ac90651533 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/__func__.C @@ -0,0 +1,6 @@ +// { dg-options "-std=c++0x -pedantic" } + +const char* foo() +{ + return __func__; +}