blob: f95ae9e6195f764b3a2d8bacac15945402de86c3 [file] [log] [blame]
Peter Collingbournebf36e252011-02-09 21:12:02 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3void foo(void) {
4 foo<<<1; // expected-error {{expected '>>>'}} expected-note {{to match this '<<<'}}
5
6 foo<<<1,1>>>; // expected-error {{expected '('}}
7
8 foo<<<>>>(); // expected-error {{expected expression}}
9}