1 // RUN: rm -rf %t 2 // RUN: split-file %s %t 3 // RUN: %clang_cc1 -extract-api --pretty-sgf --product-name=GlobalRecord -triple arm64-apple-macosx \ 4 // RUN: %t/input1.h -verify -o - | FileCheck %s 5 6 //--- input1.h 7 int num; 8 #include "input2.h" 9 10 //--- input2.h 11 // Ensure that these symbols are not emitted in the Symbol Graph. 12 #define HELLO 1 13 char not_emitted; 14 void foo(int); 15 struct Foo { int a; }; 16 17 // CHECK-NOT: input2.h 18 19 // expected-no-diagnostics 20