Bruno Cardoso Lopes | 85f87dd | 2018-04-30 22:14:29 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
2 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -F%S/Inputs/non-ambiguous-enum -fsyntax-only %s -verify | ||||
Bruno Cardoso Lopes | 763cd2a | 2018-04-30 22:57:02 +0000 | [diff] [blame] | 3 | #import <B/b.h> |
4 | #import <A/a.h> | ||||
Bruno Cardoso Lopes | 85f87dd | 2018-04-30 22:14:29 +0000 | [diff] [blame] | 5 | |
6 | // expected-no-diagnostics | ||||
7 | |||||
8 | int foo() { | ||||
9 | return MyEnumCst; | ||||
10 | } |