summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0428.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/error-codes/E0428.rs')
-rw-r--r--src/test/ui/error-codes/E0428.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/error-codes/E0428.rs b/src/test/ui/error-codes/E0428.rs
new file mode 100644
index 000000000..eb9594fb8
--- /dev/null
+++ b/src/test/ui/error-codes/E0428.rs
@@ -0,0 +1,5 @@
+struct Bar; //~ previous definition of the type `Bar` here
+struct Bar; //~ ERROR E0428
+
+fn main () {
+}