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