aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/arm4.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/arm4.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/arm4.C28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/arm4.C b/gcc/testsuite/g++.old-deja/g++.law/arm4.C
deleted file mode 100644
index 2fa43c3fc17..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.law/arm4.C
+++ /dev/null
@@ -1,28 +0,0 @@
-// GROUPS passed ARM-compliance
-// arm file
-// Message-Id: <199301272139.AA25489@world.std.com>
-// From: kol@world.std.com (Nikolay Yatsenko)
-// Subject: g++ bug
-// Date: Wed, 27 Jan 1993 16:39:10 -0500
-
-extern "C" int printf(const char*,...);
-int count = 0;
-
-struct S {
- int i;
- S(int b) {
- i = b;
- count++; }
-};
-
-int main(void)
-{
- double a = 2.0;
-
- S x(int (a));
- if (count > 0)
- printf ("FAIL\n");
- else
- printf ("PASS\n");
- return 0;
-}