| commit | 777cc7a08e55e0b027ee4c7dd9caa6481b23b034 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <doug.gregor@gmail.com> | Fri May 15 22:32:39 2009 +0000 |
| committer | Douglas Gregor <doug.gregor@gmail.com> | Fri May 15 22:32:39 2009 +0000 |
| tree | 8b9ec13dd9f5ff3203a81c39c4eeec43ed8b0e19 | |
| parent | 821a2a4a652b423d422fa3ea44f8d24165c38f59 [diff] [blame] |
Template instantiation for break and continue statements. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71903 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaTemplate/instantiate-function-1.cpp b/test/SemaTemplate/instantiate-function-1.cpp index 5238602..dc48598 100644 --- a/test/SemaTemplate/instantiate-function-1.cpp +++ b/test/SemaTemplate/instantiate-function-1.cpp
@@ -116,6 +116,10 @@ template<typename T> struct For0 { void f(T f, T l) { for (; f != l; ++f) { + if (*f) + continue; + else if (*f == 17) + break; } } };