summaryrefslogtreecommitdiffstats
path: root/src/test/ui/ui-testing-optout.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/ui-testing-optout.rs94
1 files changed, 94 insertions, 0 deletions
diff --git a/src/test/ui/ui-testing-optout.rs b/src/test/ui/ui-testing-optout.rs
new file mode 100644
index 000000000..88e811583
--- /dev/null
+++ b/src/test/ui/ui-testing-optout.rs
@@ -0,0 +1,94 @@
+// compile-flags: -Z ui-testing=no
+
+// Line number < 10
+type A = B; //~ ERROR
+
+// Line number >=10, <100
+type C = D; //~ ERROR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+// Line num >=100
+type E = F; //~ ERROR
+
+fn main() {}