2024-04-13 08:39:45 +00:00

15 lines
255 B
XML

--- panic ---
// Test panic.
// Error: 2-9 panicked
#panic()
--- panic-with-int ---
// Test panic.
// Error: 2-12 panicked with: 123
#panic(123)
--- panic-with-str ---
// Test panic.
// Error: 2-24 panicked with: "this is wrong"
#panic("this is wrong")