summaryrefslogtreecommitdiff
path: root/test/Modules/non-ambiguous-enum.m
blob: 3400b7aec3e621f2b39ea6a3a06024b0f72623c5 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -F%S/Inputs/non-ambiguous-enum -fsyntax-only %s -verify
#import <B/b.h>
#import <A/a.h>

// expected-no-diagnostics

int foo() {
  return MyEnumCst;
}