diff options
author | No Author <no-author@gcc.gnu.org> | 2001-01-01 18:42:49 +0000 |
---|---|---|
committer | No Author <no-author@gcc.gnu.org> | 2001-01-01 18:42:49 +0000 |
commit | cc6b76b3086cad497e6b0bab8089ddc98ddf7159 (patch) | |
tree | c718d02b478193b76031ad0f9c225979f207eb59 /gcc/testsuite/g++.old-deja/g++.mike/p786.C | |
parent | 8353b540e6bf07bc4de944da9c3772c619f86a9c (diff) |
This commit was manufactured by cvs2svn to create tagprereleases/gcc-2.95.3-test1
'gcc-2_95_3-test1'.
From-SVN: r38596
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.mike/p786.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.mike/p786.C | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p786.C b/gcc/testsuite/g++.old-deja/g++.mike/p786.C deleted file mode 100644 index c55d0c07f88..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.mike/p786.C +++ /dev/null @@ -1,35 +0,0 @@ -// prms-id: 786 - -extern "C" void printf (char *, ...); -extern "C" void exit(int); -class C - { - int a; -public: - C() {a = 1;} - }; - -void func(const C& a, C& b) -{ - printf ("in const func\n"); - exit(1); -} - -void func(C& a, C& b) -{ - printf ("in non-const func\n"); -} - -void testit(const C& a, C& b) -{ - func(a,b); -} - -int main() -{ - C a; - C b; - - func(a,b); - return 0; -} |