summaryrefslogtreecommitdiffstats
path: root/tests/codegen/panic-unwind-default-uwtable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/panic-unwind-default-uwtable.rs')
-rw-r--r--tests/codegen/panic-unwind-default-uwtable.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/codegen/panic-unwind-default-uwtable.rs b/tests/codegen/panic-unwind-default-uwtable.rs
new file mode 100644
index 000000000..4c85008cf
--- /dev/null
+++ b/tests/codegen/panic-unwind-default-uwtable.rs
@@ -0,0 +1,6 @@
+// compile-flags: -C panic=unwind -C no-prepopulate-passes
+
+#![crate_type = "lib"]
+
+// CHECK: attributes #{{.*}} uwtable
+pub fn foo() {}