[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang / test / ExtractAPI / known_files_only.c
blobde1e786c1969dd05687e8459dd7afc8d2f159600
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
6 //--- input1.h
7 int num;
8 #include "input2.h"
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; };
17 // CHECK-NOT: input2.h
19 // expected-no-diagnostics