summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unpretty/bad-literal.stdout
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/unpretty/bad-literal.stdout')
-rw-r--r--src/test/ui/unpretty/bad-literal.stdout11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/unpretty/bad-literal.stdout b/src/test/ui/unpretty/bad-literal.stdout
new file mode 100644
index 000000000..8df933270
--- /dev/null
+++ b/src/test/ui/unpretty/bad-literal.stdout
@@ -0,0 +1,11 @@
+#[prelude_import]
+use ::std::prelude::rust_2015::*;
+#[macro_use]
+extern crate std;
+// compile-flags: -Zunpretty=hir
+// check-fail
+
+// In #100948 this caused an ICE with -Zunpretty=hir.
+fn main() {
+ <bad-literal>;
+ }