[llvm-commits] [test-suite] r126906 - /test-suite/trunk/SingleSource/Regression/C/PR491.c

Devang Patel dpatel at apple.com
Wed Mar 2 16:39:25 PST 2011


Author: dpatel
Date: Wed Mar  2 18:39:25 2011
New Revision: 126906

URL: http://llvm.org/viewvc/llvm-project?rev=126906&view=rev
Log:
Check x86_64 also.

Modified:
    test-suite/trunk/SingleSource/Regression/C/PR491.c

Modified: test-suite/trunk/SingleSource/Regression/C/PR491.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Regression/C/PR491.c?rev=126906&r1=126905&r2=126906&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Regression/C/PR491.c (original)
+++ test-suite/trunk/SingleSource/Regression/C/PR491.c Wed Mar  2 18:39:25 2011
@@ -8,7 +8,7 @@
 #define ASSERT(expr)    ((expr) ? 1 : assert_fail(#expr,__LINE__))
 
 int test(int r) {
-#if !defined(__i386__)
+#if !defined(__i386__) && !defined(__x86_64__)
   #if !defined(BYTE_ORDER) || !defined(LITTLE_ENDIAN)
      return r;
   #else





More information about the llvm-commits mailing list