| 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 | } |
| 15 |