[inferbo] Fix test code

Reviewed By: mbouaziz

Differential Revision: D7483906

fbshipit-source-id: 128ad17
master
Sungkeun Cho 7 years ago committed by Facebook Github Bot
parent 4aafe8a990
commit a353d69a6e

@ -24,9 +24,9 @@ struct some_struct {
void FN_static_stride_bad() { void FN_static_stride_bad() {
struct some_struct a[10]; struct some_struct a[10];
struct some_struct *x, *y; char *x, *y;
x = &(a[5]); x = (char*)&(a[5]);
y = &(a[4]); y = (char*)&(a[4]);
if (sizeof(struct some_struct) == x - y) { if (sizeof(struct some_struct) == x - y) {
int a[0]; int a[0];
a[1]; // report a[1]; // report

Loading…
Cancel
Save