blob: d5fbc6f70c5dda288ff42a66933c842dcb0173d8 (
about) (
plain)
1
2
3
4
5
|
// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
void foo() {
^ (void) __attribute__((noreturn)) { }(); // expected-error {{block declared 'noreturn' should not return}}
}
|