summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-1900.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-1900.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-1900.rs b/src/test/ui/issues/issue-1900.rs
new file mode 100644
index 000000000..761bd3170
--- /dev/null
+++ b/src/test/ui/issues/issue-1900.rs
@@ -0,0 +1,2 @@
+fn main<T>() { }
+//~^ ERROR `main` function is not allowed to have generic parameters