llvm-project/clang/test/Modules/non-ambiguous-enum.m

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
249 B
Mathematica
Raw Normal View History

// 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(void) {
return MyEnumCst;
}