From: Douglas Gregor Date: Tue, 17 Mar 2009 23:49:44 +0000 (+0000) Subject: Small sanity-checking testcase X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a35b1d5f1d02c19d44d7a41b1971b97eefb79d41;p=clang Small sanity-checking testcase git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67133 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;