Index: test/Transforms/MinSFI/expand-allocas-start-argscount.ll |
diff --git a/test/Transforms/MinSFI/expand-allocas-start-argscount.ll b/test/Transforms/MinSFI/expand-allocas-start-argscount.ll |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9434cd152836c88b4e411c07fe1e9ed5d11c5500 |
--- /dev/null |
+++ b/test/Transforms/MinSFI/expand-allocas-start-argscount.ll |
@@ -0,0 +1,10 @@ |
+; RUN: not opt %s -minsfi-expand-allocas -S 2>&1 | FileCheck %s |
+ |
+target datalayout = "p:32:32:32" |
+target triple = "le32-unknown-nacl" |
+ |
+define i32 @_start_minsfi(float %arg1) { |
+ ret i32 0 |
+} |
+ |
+; CHECK: ExpandAllocas: Invalid signature of _start_minsfi |