brintos

brintos / llvm-project-archived public Read only

0
0
Text · 760 B · a41d59a Raw
26 lines · plain
1// RUN: rm -rf %t2// RUN: split-file %s %t3// RUN: %clang_cc1 -extract-api --pretty-sgf --emit-sgf-symbol-labels-for-testing \4// RUN:   --emit-extension-symbol-graphs --symbol-graph-dir=%t/symbols -isystem %t \5// RUN:   --product-name=Umbrella -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/modules-cache \6// RUN:   -triple arm64-apple-macosx -x objective-c-header %t/Umbrella.h %t/Subheader.h7 8//--- Umbrella.h9#include "Subheader.h"10#import <stdbool.h>11 12//--- Subheader.h13#define FOO 114 15//--- module.modulemap16module Umbrella {17    umbrella header "Umbrella.h"18    export *19    module * { export * }20}21 22// RUN: FileCheck %s --input-file  %t/symbols/Umbrella.symbols.json --check-prefix MOD23// MOD-NOT: bool24// MOD: "!testLabel": "c:@macro@FOO"25 26