diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/builtin.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/builtin.C | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/builtin.C b/gcc/testsuite/g++.old-deja/g++.jason/builtin.C new file mode 100644 index 000000000..e310165c6 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/builtin.C @@ -0,0 +1,10 @@ +// { dg-do assemble } +// { dg-options "-w" } +// Bug: g++ overloads strlen instead of bashing the builtin version. + +extern "C" void strlen (const char *); + +void f () +{ + strlen("Hi"); +} |