Index: test/NaCl/PNaClABI/abi-externals-multiple.ll |
diff --git a/test/NaCl/PNaClABI/abi-externals-multiple.ll b/test/NaCl/PNaClABI/abi-externals-multiple.ll |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a75d2f9b2e61df650afecf9f15701ba362a60a4d |
--- /dev/null |
+++ b/test/NaCl/PNaClABI/abi-externals-multiple.ll |
@@ -0,0 +1,9 @@ |
+; RUN: not pnacl-abicheck < %s | FileCheck %s |
+ |
+define external void @_start() { |
+ ret void |
+} |
+ |
+@__pnacl_pso_root = global [4 x i8] c"abcd" |
+ |
+; CHECK: Module has multiple entry points (disallowed) |