summaryrefslogtreecommitdiff
path: root/test/Sema/return-silent.c
blob: 83c3a0a1790571dce7ab00bcd2bc0c125ef2df36 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 %s -Wno-return-type -fsyntax-only -verify
// expected-no-diagnostics

int t14() {
  return;
}

void t15() {
  return 1;
}