📄 4216812.c
字号:
/* APPLE LOCAL file 4216812 *//* { dg-do run } *//* { dg-options "-O2" } */struct ControlID { int signature; int id;};const ControlID kHIViewWindowContentID = { 7, 1 };class HIContentView{ public: void SetID (ControlID Y) { fID = Y; } ControlID fID;};class HIWindowFrameView{ public: HIWindowFrameView(){} HIContentView *fContent;};int main() { HIContentView Y; Y.SetID(kHIViewWindowContentID); HIWindowFrameView X; X.fContent = &Y; if (X.fContent->fID.signature != 7) return 1; if (X.fContent->fID.id != 1) return 1; return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -