]> granicus.if.org Git - clang/commitdiff
Fix long double test case
authorDaniel Dunbar <daniel@zuster.org>
Fri, 25 Jul 2008 20:54:30 +0000 (20:54 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 25 Jul 2008 20:54:30 +0000 (20:54 +0000)
 - Had wrong sizeof(long double) encoded into test case
 - Results now agree with llvm-gcc

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54059 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/long-double-x86.c

index 88ac0c9268c381956965edcf99ea34b771b76bba..8954042afd9a30c06f0e8132f1f24a6547d9932a 100644 (file)
@@ -1,4 +1,4 @@
 // RUN: clang %s -emit-llvm -o - -triple=i686-apple-darwin9 | grep x86_fp80
 
 long double x = 0;
-int checksize[sizeof(x) == 12 ? 1 : -1];
+int checksize[sizeof(x) == 16 ? 1 : -1];