diff options
| author | Kivooeo <Kivooeo123@gmail.com> | 2025-07-24 17:22:54 +0500 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-07-31 21:25:49 +0500 |
| commit | a4a5bf5a71bd0c3fb52a28f81d88ce1755b3bc30 (patch) | |
| tree | b69177434a4026599cbd602cc2aee39759f89cdd /tests/ui/parser | |
| parent | d636a6590ce1429ff011e04bb0b4d393dc382226 (diff) | |
| download | rust-a4a5bf5a71bd0c3fb52a28f81d88ce1755b3bc30.tar.gz rust-a4a5bf5a71bd0c3fb52a28f81d88ce1755b3bc30.zip | |
comments
Diffstat (limited to 'tests/ui/parser')
| -rw-r--r-- | tests/ui/parser/encode-symbol-ice-12920.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/parser/encode-symbol-ice-12920.rs b/tests/ui/parser/encode-symbol-ice-12920.rs new file mode 100644 index 00000000000..87389c0ffb4 --- /dev/null +++ b/tests/ui/parser/encode-symbol-ice-12920.rs @@ -0,0 +1,10 @@ +//! Regression test for https://github.com/rust-lang/rust/issues/12920 + +//@ run-fail +//@ error-pattern:explicit panic +//@ needs-subprocess + +pub fn main() { + panic!(); + println!("{}", 1); +} |
