Skip to content

Commit 6996605

Browse files
committed
Spell that more naturally
1 parent 816d158 commit 6996605

File tree

1 file changed

+3
-3
lines changed
  • tests/std/tests/GH_005816_numeric_limits_traps

1 file changed

+3
-3
lines changed

tests/std/tests/GH_005816_numeric_limits_traps/test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
#endif // __clang__
1313

1414
void trap_operation() {
15-
volatile int op1{1};
16-
volatile int op2{0};
17-
volatile int res = op1 / op2;
15+
const volatile int op1 = 1;
16+
const volatile int op2 = 0;
17+
const volatile int res = op1 / op2;
1818
(void) res;
1919
}
2020

0 commit comments

Comments
 (0)