]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/bit-fields2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / bit-fields2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/bit-fields2.C b/gcc/testsuite/g++.old-deja/g++.brendan/bit-fields2.C
deleted file mode 100644 (file)
index c77ce86..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Build don't link: 
-// GROUPS passed bit-fields
-       struct {
-           char c;
-           int i:8;
-       } s;
-       
-       int main()
-       {
-           int &ir = s.i;      // ERROR - address of bitfield
-           int *ip = &s.i;     // ERROR - address of bitfield
-           ir = 10;
-       }