blob: 30dddb549c9c71f3aa51c8b76aeb1ca8d0849399 [file] [log] [blame]
Tareq A. Siraj0de0dd42013-04-16 18:41:26 +00001// RUN: %clang_cc1 -verify %s
2
3void test1()
4{
5 #pragma clang __debug captured x // expected-warning {{extra tokens at end of #pragma clang __debug captured directive}}
6 {
7 }
8}
9
10void test2()
11{
12 #pragma clang __debug captured
13 int x; // expected-error {{expected '{'}}
14}