diff options
Diffstat (limited to 'test/Modules/cxx-many-overloads.cpp')
-rw-r--r-- | test/Modules/cxx-many-overloads.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Modules/cxx-many-overloads.cpp b/test/Modules/cxx-many-overloads.cpp new file mode 100644 index 000000000000..205a79cdf9e1 --- /dev/null +++ b/test/Modules/cxx-many-overloads.cpp @@ -0,0 +1,9 @@ +// RUN: rm -rf %t +// RUN: %clang_cc1 -x objective-c++ -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -verify + +// expected-no-diagnostics +@import cxx_many_overloads; + +void g() { + f(N::X<0>()); +} |