diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:06:01 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:06:01 +0000 |
commit | 486754660bb926339aefcf012a3f848592babb8b (patch) | |
tree | ecdbc446c9876f4f120f701c243373cd3cb43db3 /test/Import/template-specialization/test.cpp | |
parent | 55e6d896ad333f07bb3b1ba487df214fc268a4ab (diff) |
Notes
Diffstat (limited to 'test/Import/template-specialization/test.cpp')
-rw-r--r-- | test/Import/template-specialization/test.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Import/template-specialization/test.cpp b/test/Import/template-specialization/test.cpp index 43996c53a77ed..30df8187602d7 100644 --- a/test/Import/template-specialization/test.cpp +++ b/test/Import/template-specialization/test.cpp @@ -1,7 +1,10 @@ // RUN: clang-import-test -import %S/Inputs/T.cpp -expression %s -// XFAIL: * + void expr() { A<int>::B b1; A<bool>::B b2; b1.f + b2.g; } + +static_assert(f<char>() == 0, ""); +static_assert(f<int>() == 4, ""); |