// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s template struct S {}; template void f(); template struct S {}; template struct V {}; template struct V {}; void foo(void) { // In C++11 mode, all of these are expected to parse correctly, and the CUDA // language should not interfere with that. // expected-no-diagnostics S>> s3; S>> s30; S>>> s4; S>>> s40; S>>>> s5; S>>>> s50; (void)(&f>>==0); (void)(&f>>==0); S>> s6; } template void bar(T... args) { S>> s7; }