]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.benjamin/15756-1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.benjamin / 15756-1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.benjamin/15756-1.C b/gcc/testsuite/g++.old-deja/g++.benjamin/15756-1.C
deleted file mode 100644 (file)
index cc44e6a..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// 981203 bkoz
-// g++/15756  test1
-// Build don't link: 
-// Special g++ Options: -Wsign-promo
-
-enum e_value { first = 0, next = 30 };
-
-struct sanjuan {
-  sanjuan(int value);
-  sanjuan(unsigned value);
-  friend sanjuan operator&(const sanjuan& x, const sanjuan& y);
-  friend int operator!=(const sanjuan& x, const sanjuan& y);
-};
-
-extern void mod_enum(e_value*);
-extern int a;
-
-void foo(void) {
-  e_value mod = first;
-  mod_enum(&mod);
-  if (mod != next)
-    ++a;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-