1 // RUN: %clang_cc1 -x c++-header -emit-pch %s -o %t
2 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
4 // expected-no-diagnostics
6 #ifndef HEADER_INCLUDED
7 #define HEADER_INCLUDED
9 static inline void foo(int &x
, int y
) {
11 #pragma clang __debug captured
20 explicit C(int v
) : val(v
) { }
23 // Capturing x and this
24 #pragma clang __debug captured
33 void test_foo(int &x
) {
37 void test_bar(int &x
) {