Peter Collingbourne | bf36e25 | 2011-02-09 21:12:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
2 | |||||
3 | void 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 | } |