Index: test/CodeGen/long-double-x86-nacl.c |
diff --git a/test/CodeGen/long-double-x86-nacl.c b/test/CodeGen/long-double-x86-nacl.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..175129cb6a2a58da092a48de3ff6ecf5d41f1f13 |
--- /dev/null |
+++ b/test/CodeGen/long-double-x86-nacl.c |
@@ -0,0 +1,7 @@ |
+// RUN: %clang_cc1 %s -emit-llvm -o - -triple=i686-unknown-nacl | FileCheck %s |
+ |
+long double x = 0; |
+int checksize[sizeof(x) == 8 ? 1 : -1]; |
+ |
+// CHECK: define void @s1(double %a) |
+void s1(long double a) {} |