mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-28 15:58:57 -04:00

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;
|
|
}
|
|
}
|