brintos

brintos / llvm-project-archived public Read only

0
0
Text · 447 B · 4ec278b Raw
13 lines · plain
1// RUN: rm -rf %t2// RUN: %clang_cc1 -verify -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -F %S/Inputs/implicit-private-canonical -fsyntax-only %s -Wprivate-module -fmodule-name=A -Rmodule-build3 4// Because of -fmodule-name=A, no module (A or A_Private) is supposed to be5// built and -Rmodule-build should not produce any output.6 7// expected-no-diagnostics8 9#import <A/a.h>10#import <A/aprivate.h>11 12int foo(void) { return APRIVATE; }13