summaryrefslogtreecommitdiffstats
path: root/test cases/common/223 persubproject options/subprojects/sub1/foo.c
blob: 82ad2c2d06ca669a51c9ad8fb081281334bb9376 (plain)
1
2
3
4
5
6
7
8
int foo(void);

int foo(void) {
  /* This is built with -Werror, it would error if warning_level=3 was inherited
   * from main project and not overridden by this subproject's default_options. */
  int x;
  return 0;
}