diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/builtin2.C')
-rwxr-xr-x | gcc/testsuite/g++.old-deja/g++.jason/builtin2.C | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/builtin2.C b/gcc/testsuite/g++.old-deja/g++.jason/builtin2.C new file mode 100755 index 0000000..698d0a1 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/builtin2.C @@ -0,0 +1,8 @@ +// Build don't link: + +inline void strlen (const char *) { } + +void f () +{ + strlen("Hi"); // gets bogus error - wrongful overload +} |