We don't yet support this for the case where a range-based for loop is implicitly rewritten to an ObjC for..in statement. llvm-svn: 343350
11 lines
121 B
C++
11 lines
121 B
C++
struct Container {
|
|
int *begin();
|
|
int *end();
|
|
};
|
|
|
|
void f() {
|
|
for (Container c; int varname : c) {
|
|
return;
|
|
}
|
|
}
|