| Index: test/NaCl/PNaClABI/abi-entry-point-required.ll
|
| diff --git a/test/NaCl/PNaClABI/abi-entry-point-required.ll b/test/NaCl/PNaClABI/abi-entry-point-required.ll
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9bd8a6d12ef9a8bac5f9ae050ffe49f6c1de4e57
|
| --- /dev/null
|
| +++ b/test/NaCl/PNaClABI/abi-entry-point-required.ll
|
| @@ -0,0 +1,8 @@
|
| +; RUN: not pnacl-abicheck < %s | FileCheck %s
|
| +
|
| +; This is not a valid entry point because it's declared "internal".
|
| +define internal void @_start(i32 %arg) {
|
| + ret void
|
| +}
|
| +
|
| +; CHECK: Module has no entry point (disallowed)
|
|
|