aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/2003-05-21-BitfieldHandling.c
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-09-26 14:58:39 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-09-26 14:58:39 +0000
commit91d66aa243c7075e05c06c9382b505c3293769e4 (patch)
treeced6efff9c2d0012708d96a2a69bd62798c3a2d7 /test/C++Frontend/2003-05-21-BitfieldHandling.c
parent67181ca7f67cd2959ee5d1d583d8b7e179f44d96 (diff)
Removing these tests from the regressions directory.
They now live in llvm/test/Programs/SingleSource/Regression alongside their UnitTest brethren. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend/2003-05-21-BitfieldHandling.c')
-rw-r--r--test/C++Frontend/2003-05-21-BitfieldHandling.c59
1 files changed, 0 insertions, 59 deletions
diff --git a/test/C++Frontend/2003-05-21-BitfieldHandling.c b/test/C++Frontend/2003-05-21-BitfieldHandling.c
deleted file mode 100644
index 12508a9313..0000000000
--- a/test/C++Frontend/2003-05-21-BitfieldHandling.c
+++ /dev/null
@@ -1,59 +0,0 @@
-struct test_empty {
-} e;
-int Esize = sizeof(e);
-
-struct rtx_def {
- unsigned short code;
- long long :3;
- int mode : 8;
- long long :0;
- long long x :31;
- //long long y:31;
-} N = {2, 7, 1 };
-int Nsize = sizeof(N); // Size = 8
-
-struct test1 {
- char x:1;
- long long :0;
-} F1; int F1size = sizeof(F1); // Size = 4
-
-struct test2 {
- long long x :4;
-} F2; int F2size = sizeof(F2); // Size = 4
-
-struct test3 {
- char x:1;
- long long :20;
-} F3; int F3size = sizeof(F3); // Size = 3
-
-struct test4 {
- char x:1;
- long long :21;
- short Y : 14;
-} F4; int F4size = sizeof(F4); // Size = 6
-
-struct test5 {
- char x:1;
- long long :17;
- char Y : 1;
-} F5; int F5size = sizeof(F5); // Size = 3
-
-struct test6 {
- char x:1;
- long long :42;
- int Y : 21;
-} F6; int F6size = sizeof(F6); // Size = 8
-
-struct test {
- char c;
- char d : 3;
- char e: 3;
- int : 0;
- char f;
- char :0;
- long long x : 4;
-} M; int Msize = sizeof(M); // Size = 8
-
-int main() {
- return 0;
-}