]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/bitfld4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / bitfld4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/bitfld4.C b/gcc/testsuite/g++.old-deja/g++.other/bitfld4.C
deleted file mode 100644 (file)
index ac0a378..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Build don't link:
-// Origin: "Chen, Wen-Ke" <chwk@cs.arizona.edu>
-
-template <class T>
-bool operator!=(const T&, const T&);
-
-enum MsgType {
-  MSG_DATA
-};
-
-class C {
-public:
-  MsgType mType : 8;
-};
-
-int main(void)
-{
-  extern C& c;
-
-  c.mType = MSG_DATA; 
-  if (c.mType != MSG_DATA)
-    return -1;
-
-  return 0;
-}