summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-extern_types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-extern_types.rs')
-rw-r--r--src/test/ui/feature-gates/feature-gate-extern_types.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-extern_types.rs b/src/test/ui/feature-gates/feature-gate-extern_types.rs
new file mode 100644
index 000000000..103f8eed6
--- /dev/null
+++ b/src/test/ui/feature-gates/feature-gate-extern_types.rs
@@ -0,0 +1,5 @@
+extern "C" {
+ type T; //~ ERROR extern types are experimental
+}
+
+fn main() {}