commit | 67d8249924ef38a5375ff9c92cd21c1854d6abab | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Apr 17 00:29:51 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Apr 17 00:29:51 2009 +0000 |
tree | 0b9a8b72490bcc87f76fd2d77a0504178222b48a | |
parent | d921cf976b4769af8d06d6763a2547dadf7940ab [diff] [blame] |
PCH support for do-while and for loops git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69334 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/PCH/stmts.h b/test/PCH/stmts.h index 798058a..d67ae18 100644 --- a/test/PCH/stmts.h +++ b/test/PCH/stmts.h
@@ -24,6 +24,13 @@ if (x > 30) { --x; continue; - } + } else if (x < 5) + break; } + + do { + x++; + } while (x < 10); + + for (; x < 20; ++x) ; }