diff options
Diffstat (limited to 'tests/ui/extern/auxiliary/extern-types-inherent-impl.rs')
-rw-r--r-- | tests/ui/extern/auxiliary/extern-types-inherent-impl.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/extern/auxiliary/extern-types-inherent-impl.rs b/tests/ui/extern/auxiliary/extern-types-inherent-impl.rs new file mode 100644 index 000000000..a1efe1818 --- /dev/null +++ b/tests/ui/extern/auxiliary/extern-types-inherent-impl.rs @@ -0,0 +1,9 @@ +#![feature(extern_types)] + +extern "C" { + pub type CrossCrate; +} + +impl CrossCrate { + pub fn foo(&self) {} +} |