aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/conflicts.m
blob: 2388e6f1d1cf0f77d7af0a1dff55725766423e0a (plain)
1
2
3
4
5
6
7
// RUN: rm -rf %t
// RUN: %clang_cc1 -Wauto-import -fmodules-cache-path=%t -fmodules -I %S/Inputs/Conflicts %s -verify

@import Conflicts;

@import Conflicts.A; // expected-warning{{module 'Conflicts.A' conflicts with already-imported module 'Conflicts.B': we just don't like B}}