summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/constexpr-instantiate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/constexpr-instantiate.cpp')
-rw-r--r--test/SemaTemplate/constexpr-instantiate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaTemplate/constexpr-instantiate.cpp b/test/SemaTemplate/constexpr-instantiate.cpp
index 80c4aaf..95d6c23 100644
--- a/test/SemaTemplate/constexpr-instantiate.cpp
+++ b/test/SemaTemplate/constexpr-instantiate.cpp
@@ -201,8 +201,8 @@ namespace NoInstantiationWhenSelectingOverload {
int n;
};
- void f(S);
- void f(int);
+ int f(S);
+ int f(int);
void g() { f(0); }
void h() { (void)sizeof(f(0)); }
OpenPOWER on IntegriCloud