[cfe-commits] r67213 - in /cfe/trunk/test/Serialization: complex.c stmt_exprs.c
Chris Lattner
sabre at nondot.org
Wed Mar 18 10:16:30 PDT 2009
Author: lattner
Date: Wed Mar 18 12:16:30 2009
New Revision: 67213
URL: http://llvm.org/viewvc/llvm-project?rev=67213&view=rev
Log:
remove two xfailed tests. These aren't doing any good for us until serialization is revisited.
Removed:
cfe/trunk/test/Serialization/complex.c
cfe/trunk/test/Serialization/stmt_exprs.c
Removed: cfe/trunk/test/Serialization/complex.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Serialization/complex.c?rev=67212&view=auto
==============================================================================
--- cfe/trunk/test/Serialization/complex.c (original)
+++ cfe/trunk/test/Serialization/complex.c (removed)
@@ -1,50 +0,0 @@
-// XFAIL
-// RUN: false
-// clang %s --test-pickling 2>&1 | grep -q 'SUCCESS'
-
-int main(void)
-{
- double _Complex a = 5;
- double _Complex b = 42;
-
- return a * b != b * a;
-}
-
-_Complex double bar(int);
-void test(_Complex double*);
-void takecomplex(_Complex double);
-
-void test2(int c) {
- _Complex double X;
- X = bar(1);
- test(&X);
- takecomplex(X);
-}
-
-_Complex double g1, g2;
-_Complex float cf;
-double D;
-
-void test3() {
- g1 = g1 + g2;
- g1 = g1 - g2;
- g1 = g1 * g2;
- g1 = +-~g1;
-
- double Gr = __real g1;
-
- cf += D;
- D += cf;
- cf /= g1;
- g1 = g1 + D;
- g1 = D + g1;
-}
-
-void t1() {
- (__real__ cf) = 4.0;
-}
-
-void t2() {
- (__imag__ cf) = 4.0;
-}
-
Removed: cfe/trunk/test/Serialization/stmt_exprs.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Serialization/stmt_exprs.c?rev=67212&view=auto
==============================================================================
--- cfe/trunk/test/Serialization/stmt_exprs.c (original)
+++ cfe/trunk/test/Serialization/stmt_exprs.c (removed)
@@ -1,13 +0,0 @@
-// XFAIL
-// RUN: false
-// clang %s --test-pickling 2>&1 | grep -q 'SUCCESS'
-typedef unsigned __uint32_t;
-
-#define __byte_swap_int_var(x) \
-__extension__ ({ register __uint32_t __X = (x); \
- __asm ("bswap %0" : "+r" (__X)); \
- __X; })
-
-int test(int _x) {
- return (__byte_swap_int_var(_x));
-}
More information about the cfe-commits
mailing list