brintos

brintos / llvm-project-archived public Read only

0
0
Text · 444 B · de1e786 Raw
20 lines · c
1// RUN: rm -rf %t2// RUN: split-file %s %t3// RUN: %clang_cc1 -extract-api --pretty-sgf --product-name=GlobalRecord -triple arm64-apple-macosx \4// RUN: %t/input1.h -verify -o - | FileCheck %s5 6//--- input1.h7int num;8#include "input2.h"9 10//--- input2.h11// Ensure that these symbols are not emitted in the Symbol Graph.12#define HELLO 113char not_emitted;14void foo(int);15struct Foo { int a; };16 17// CHECK-NOT: input2.h18 19// expected-no-diagnostics20