summaryrefslogtreecommitdiffstats
path: root/tests/run-make/exit-code/compile-error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/exit-code/compile-error.rs')
-rw-r--r--tests/run-make/exit-code/compile-error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run-make/exit-code/compile-error.rs b/tests/run-make/exit-code/compile-error.rs
new file mode 100644
index 000000000..a96c19760
--- /dev/null
+++ b/tests/run-make/exit-code/compile-error.rs
@@ -0,0 +1,3 @@
+fn main() {
+ compile_error!("kaboom");
+}