summaryrefslogtreecommitdiffstats
path: root/clang/test/InterfaceStubs/object-float.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/InterfaceStubs/object-float.c')
-rw-r--r--clang/test/InterfaceStubs/object-float.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/InterfaceStubs/object-float.c b/clang/test/InterfaceStubs/object-float.c
new file mode 100644
index 00000000000..6dd056bb852
--- /dev/null
+++ b/clang/test/InterfaceStubs/object-float.c
@@ -0,0 +1,3 @@
+// RUN: not %clang -o - -emit-interface-stubs %s %S/object.c 2>&1 | FileCheck %s
+// CHECK: error: Interface Stub: Size Mismatch
+double data = 42.0; \ No newline at end of file
OpenPOWER on IntegriCloud