blob: 927de23671b57043481c1d22b0fb6b8d43830cf5 [file] [log] [blame]
/* Test -mco-re with -flto.
-mco-re is used to generate information for BPF CO-RE usecase. To support
the generataion of the .BTF and .BTF.ext sections in GCC, -flto is disabled
with -mco-re. */
/* { dg-do compile } */
/* { dg-message "sorry, unimplemented: BPF CO-RE does not support LTO" "" { target bpf-*-* } 0 } */
/* { dg-options "-gbtf -mco-re -flto" } */