forked from OSchip/llvm-project
6 lines
177 B
C
6 lines
177 B
C
|
// RUN: clang-cc -fsyntax-only %s -verify -fblocks
|
||
|
|
||
|
void foo() {
|
||
|
^ (void) __attribute__((noreturn)) { }(); // expected-error {{block declared 'noreturn' should not return}}
|
||
|
}
|