llvm/clang/test/Sema/PR2919-builtin-types-compat-strips-crv.c

// RUN: %clang_cc1 -fsyntax-only %s
// RUN: %clang_cc1 -fsyntax-only %s -fexperimental-new-constant-interpreter

typedef struct foo T0;
typedef const struct foo T1;

int a0[__builtin_types_compatible_p(T0,
                                    const T1) ? 1 : -1];