Index: test/Transforms/MinSFI/expand-allocas-no-start.ll |
diff --git a/test/Transforms/MinSFI/expand-allocas-no-start.ll b/test/Transforms/MinSFI/expand-allocas-no-start.ll |
new file mode 100644 |
index 0000000000000000000000000000000000000000..219ff9f9ae963159f25df2f73e28745002c0a109 |
--- /dev/null |
+++ b/test/Transforms/MinSFI/expand-allocas-no-start.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 @foo(i32 %arg1) { |
+ ret i32 0 |
+} |
+ |
+; CHECK: ExpandAllocas: Module does not have an entry function |