diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/__func__.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/__func__.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/__func__.C b/gcc/testsuite/g++.dg/cpp0x/__func__.C new file mode 100644 index 000000000..1ac906515 --- /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__; +} |