diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.benjamin/15351-2.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.benjamin/15351-2.C | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.benjamin/15351-2.C b/gcc/testsuite/g++.old-deja/g++.benjamin/15351-2.C deleted file mode 100644 index 98ecaac29a1..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.benjamin/15351-2.C +++ /dev/null @@ -1,27 +0,0 @@ -// 981203 bkoz -// g++/15351 + test -// Special g++ Options: -fconst-strings - -#include <assert.h> - -bool gtest; - -struct acapulco { - acapulco(const char *) { gtest = true; } - acapulco(char *) { gtest = false; } -}; - -void foo(void) -{ - acapulco("some such string\n"); -} - -int main() -{ - foo(); - if (!gtest) - assert (0); - - return !gtest; -} - |