diff options
Diffstat (limited to 'test/Import/template-specialization/Inputs/T.cpp')
| -rw-r--r-- | test/Import/template-specialization/Inputs/T.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Import/template-specialization/Inputs/T.cpp b/test/Import/template-specialization/Inputs/T.cpp index b31e2439efeb..7eea95829048 100644 --- a/test/Import/template-specialization/Inputs/T.cpp +++ b/test/Import/template-specialization/Inputs/T.cpp @@ -12,3 +12,7 @@ template <> struct A<bool> { int g; }; }; + + +template <typename T> constexpr int f() { return 0; } +template <> constexpr int f<int>() { return 4; } |
