about summary refs log tree commit diff
path: root/tests/ui/hygiene/cross-crate-name-collision.rs
blob: 7826d743ba56c52d877c1ae4806224932745b96b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Check that two items defined in another crate that have identifiers that
// only differ by `SyntaxContext` do not cause name collisions when imported
// in another crate.

//@ check-pass
//@ aux-build:needs_hygiene.rs

extern crate needs_hygiene;

use needs_hygiene::*;

fn main() {}