1 // RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks -Wunreachable-code -Wno-unused-value
3 int &halt() __attribute__((noreturn));
6 int liveti() throw(int);
7 int (*livetip)() throw(int);
35 dead(); // expected-warning {{will never be executed}}
41 --; // expected-warning {{will never be executed}}
43 ? // expected-warning {{will never be executed}}
46 float // expected-warning {{will never be executed}}
55 halt(), foor()// expected-warning {{will never be executed}}
63 S &foor() __attribute__((noreturn));
65 .mem; // expected-warning {{will never be executed}}
74 S // expected-warning {{will never be executed}}