summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/cxx-templates-a.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs/cxx-templates-a.h')
-rw-r--r--clang/test/Modules/Inputs/cxx-templates-a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/cxx-templates-a.h b/clang/test/Modules/Inputs/cxx-templates-a.h
index cc83d7bc034..aaafc1b1bdb 100644
--- a/clang/test/Modules/Inputs/cxx-templates-a.h
+++ b/clang/test/Modules/Inputs/cxx-templates-a.h
@@ -20,3 +20,5 @@ template<typename T> void PerformDelayedLookup(T &t) {
typename T::Inner inner;
FoundByADL(t);
}
+
+template<typename T> void PerformDelayedLookupInDefaultArgument(T &t, int a = (FoundByADL(T()), 0)) {}
OpenPOWER on IntegriCloud