summaryrefslogtreecommitdiffstats
path: root/tests/run-make/dep-info-doesnt-run-much/foo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/dep-info-doesnt-run-much/foo.rs')
-rw-r--r--tests/run-make/dep-info-doesnt-run-much/foo.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-make/dep-info-doesnt-run-much/foo.rs b/tests/run-make/dep-info-doesnt-run-much/foo.rs
new file mode 100644
index 000000000..316e68129
--- /dev/null
+++ b/tests/run-make/dep-info-doesnt-run-much/foo.rs
@@ -0,0 +1,5 @@
+// We're only emitting dep info, so we shouldn't be running static analysis to
+// figure out that this program is erroneous.
+fn main() {
+ let a: u8 = "a";
+}