| Tareq A. Siraj | 0de0dd4 | 2013-04-16 18:41:26 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -verify %s |
| 2 | |||||
| 3 | void test1() | ||||
| 4 | { | ||||
| 5 | #pragma clang __debug captured x // expected-warning {{extra tokens at end of #pragma clang __debug captured directive}} | ||||
| 6 | { | ||||
| 7 | } | ||||
| 8 | } | ||||
| 9 | |||||
| 10 | void test2() | ||||
| 11 | { | ||||
| 12 | #pragma clang __debug captured | ||||
| 13 | int x; // expected-error {{expected '{'}} | ||||
| 14 | } | ||||