From f3ac19e8cd8be78f1eb96893482edac038739bb1 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Mon, 24 Aug 2020 22:02:55 +0200 Subject: Support extern types --- crates/hir_def/src/nameres/tests.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/hir_def/src/nameres') diff --git a/crates/hir_def/src/nameres/tests.rs b/crates/hir_def/src/nameres/tests.rs index 8aaf7a158..5ca30dac9 100644 --- a/crates/hir_def/src/nameres/tests.rs +++ b/crates/hir_def/src/nameres/tests.rs @@ -46,6 +46,7 @@ union U { to_be: bool, not_to_be: u8 } enum E { V } extern { + type Ext; static EXT: u8; fn ext(); } @@ -65,6 +66,7 @@ extern { Baz: t v E: t EXT: v + Ext: t U: t ext: v "#]], -- cgit v1.2.3