blob: 65d3870f60e9735df4c6cb0e5ef03379e96ac577 [file] [edit]
// RUN: %clang_cc1 -fsyntax-only -fblocks -verify %s
// Test that sentinel attribute on block variables doesn't crash
void foo(void) {
void (^a)() __attribute__((__sentinel__)) = {}; // expected-warning {{'sentinel' attribute requires named arguments}}
}