[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / block-return-2.c
blob8e7bb95c86656bd05ea9f1d6d34566c2f1c37bd1
1 // RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
3 void foo(void) {
4 ^ (void) __attribute__((noreturn)) { }(); // expected-error {{block declared 'noreturn' should not return}}