File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ struct E {
2525 E (int a) : d(a) {}
2626};
2727
28- struct Storage {
28+ struct F {
2929 int x;
3030};
3131
@@ -55,7 +55,7 @@ int t5() {
5555}
5656
5757int t6 () {
58- Storage w (32 );
59- return 1 / (w .x - 32 ); // expected-warning {{Division by zero}}
58+ F f (32 );
59+ return 1 / (f .x - 32 ); // expected-warning {{Division by zero}}
6060}
6161} // namespace GH148875
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ struct E {
3737 E (int a) : d{a} {}
3838};
3939
40- struct Storage {
40+ struct F {
4141 int x;
4242};
4343
@@ -67,7 +67,7 @@ int t5() {
6767}
6868
6969int t6 () {
70- Storage w {32 };
71- return 1 / (w .x - 32 ); // expected-warning {{Division by zero}}
70+ F f {32 };
71+ return 1 / (f .x - 32 ); // expected-warning {{Division by zero}}
7272}
7373}
You can’t perform that action at this time.
0 commit comments