summaryrefslogtreecommitdiff
path: root/test/lit/help/wasm-ctor-eval.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/help/wasm-ctor-eval.test')
-rw-r--r--test/lit/help/wasm-ctor-eval.test29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/lit/help/wasm-ctor-eval.test b/test/lit/help/wasm-ctor-eval.test
new file mode 100644
index 000000000..da10f098a
--- /dev/null
+++ b/test/lit/help/wasm-ctor-eval.test
@@ -0,0 +1,29 @@
+;; RUN: wasm-ctor-eval --help | filecheck %s
+
+;; CHECK: wasm-ctor-eval INFILE
+;; CHECK-NEXT:
+;; CHECK-NEXT: Execute C++ global constructors ahead of time
+;; CHECK-NEXT:
+
+;; Skip standard tool options
+
+;; CHECK: --no-validation,-n Disables validation, assumes inputs are
+;; CHECK-NEXT: correct
+;; CHECK-NEXT:
+;; CHECK-NEXT: --pass-arg,-pa An argument passed along to optimization
+;; CHECK-NEXT: passes being run. Must be in the form
+;; CHECK-NEXT: KEY@VALUE
+;; CHECK-NEXT:
+;; CHECK-NEXT: --nominal Use the prototype nominal type system
+;; CHECK-NEXT: instead of the normal equirecursive type
+;; CHECK-NEXT: system.
+;; CHECK-NEXT:
+;; CHECK-NEXT: --output,-o Output file (stdout if not specified)
+;; CHECK-NEXT:
+;; CHECK-NEXT: --emit-text,-S Emit text instead of binary for the
+;; CHECK-NEXT: output file
+;; CHECK-NEXT:
+;; CHECK-NEXT: --debuginfo,-g Emit names section and debug info
+;; CHECK-NEXT:
+;; CHECK-NEXT: --ctors,-c Comma-separated list of global
+;; CHECK-NEXT: constructor functions to evaluate