[cfe-commits] r92282 - /cfe/trunk/test/SemaTemplate/dependent-expr.cpp
Eli Friedman
eli.friedman at gmail.com
Tue Dec 29 16:20:14 PST 2009
Author: efriedma
Date: Tue Dec 29 18:20:14 2009
New Revision: 92282
URL: http://llvm.org/viewvc/llvm-project?rev=92282&view=rev
Log:
Test for PR5908.
Added:
cfe/trunk/test/SemaTemplate/dependent-expr.cpp
Added: cfe/trunk/test/SemaTemplate/dependent-expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/dependent-expr.cpp?rev=92282&view=auto
==============================================================================
--- cfe/trunk/test/SemaTemplate/dependent-expr.cpp (added)
+++ cfe/trunk/test/SemaTemplate/dependent-expr.cpp Tue Dec 29 18:20:14 2009
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+// PR5908
+template <typename Iterator>
+void Test(Iterator it) {
+ *(it += 1);
+}
More information about the cfe-commits
mailing list