Commit 322c4d6
str_cat_test: Avoid using invalid enum values
Invalid enum values are undefined behavior. This change
makes the enum backed by an integer for testing.
Our UBSAN tests were missing `-fno-sanitize-recover`, which
means UBSAN logs a warning, but the program continues,
causing the test not to fail.
`-fno-sanitize-recover` will be added once all errors are fixed.
PiperOrigin-RevId: 733450563
Change-Id: I0644af2ecb9ca6def5fa0c9c948d76dda54af97f1 parent 9fee338 commit 322c4d6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments