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