blob: 5622fecbb4feda6ce28fcbd28fc6035a475cc2aa [file] [log] [blame] [edit]
// RUN: %clang_cc1 -triple x86_64-unknown-linux -std=c23 -fdefer-ts -emit-llvm %s -o /dev/null -verify
int bar() { return 12; }
int foo() {
_Defer {};
[[clang::musttail]] return bar(); // expected-error {{cannot compile this tail call skipping over cleanups yet}}
}