diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-03-17 23:49:44 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-03-17 23:49:44 +0000 |
| commit | a35b1d5f1d02c19d44d7a41b1971b97eefb79d41 (patch) | |
| tree | 6d4ff8c4050d0abed168e162b4a4694be18e1ab5 | |
| parent | 9d0703114a00a0430d269858c9a63fdd31f44d14 (diff) | |
Small sanity-checking testcase
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67133 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | test/SemaTemplate/class-template-id.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SemaTemplate/class-template-id.cpp b/test/SemaTemplate/class-template-id.cpp index 39dc29796b..86100ef71d 100644 --- a/test/SemaTemplate/class-template-id.cpp +++ b/test/SemaTemplate/class-template-id.cpp @@ -27,3 +27,4 @@ B<17 + 2> *bar(B<(19)> *ptr1, B< (::value + 7) > *ptr2, B<19 - 3> *ptr3) { return ptr3; // expected-error{{incompatible type returning 'B<19 - 3> *', expected 'B<17 + 2> *'}} } +typedef B<5> B5; |
