mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 23:31:50 +08:00
Add basic tests for `frame variable`'s ability to direct access fields of `this` and ivars of `self`. This splits the tests, preventing ObjC tests from running on Linux. Differential Revision: https://reviews.llvm.org/D145348
13 lines
134 B
C++
13 lines
134 B
C++
struct Structure {
|
|
int m_field;
|
|
void fun() {
|
|
// check this
|
|
}
|
|
};
|
|
|
|
int main() {
|
|
Structure s;
|
|
s.m_field = 30;
|
|
s.fun();
|
|
}
|