blob: b32b2e9eeb08f051342a50a463429f744b23718b [file] [log] [blame]
Steve Naroff2c0ccd02009-04-30 16:01:26 +00001// RUN: clang-cc %s -fsyntax-only -verify
2
3// clang emits the following warning by default.
4// With GCC, -pedantic, -Wreturn-type or -Wall are required to produce the
5// following warning.
6int t14() {
7 return; // expected-warning {{non-void function 't14' should return a value}}
8}
9