forked from OSchip/llvm-project
Fix TestDebugBreak.py failure with gcc, for loop declarations are not allowed by default with gcc
- fix buildbot breakage after r257186 - move declaration outside of for loop llvm-svn: 257228
This commit is contained in:
parent
f79782fa13
commit
d7a2ecb681
|
@ -8,8 +8,8 @@
|
|||
int
|
||||
bar(int const *foo)
|
||||
{
|
||||
int count = 0;
|
||||
for (int i = 0; i < 10; ++i)
|
||||
int count = 0, i = 0;
|
||||
for (; i < 10; ++i)
|
||||
{
|
||||
count += 1;
|
||||
BREAKPOINT_INTRINSIC();
|
||||
|
|
Loading…
Reference in New Issue