summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/nested-bad-turbofish.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/nested-bad-turbofish.rs')
-rw-r--r--tests/ui/parser/nested-bad-turbofish.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/parser/nested-bad-turbofish.rs b/tests/ui/parser/nested-bad-turbofish.rs
new file mode 100644
index 000000000..02099fde2
--- /dev/null
+++ b/tests/ui/parser/nested-bad-turbofish.rs
@@ -0,0 +1,3 @@
+fn main() {
+ foo<<S as T>::V>(); //~ ERROR
+}