File: compile_fail-expr.c

package info (click to toggle)
horst 4.2-1
  • links: PTS, VCS
  • area: contrib
  • in suites: stretch
  • size: 792 kB
  • ctags: 1,571
  • sloc: ansic: 8,021; makefile: 87; sh: 30
file content (10 lines) | stat: -rw-r--r-- 156 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
8
9
10
#include <ccan/build_assert/build_assert.h>

int main(int argc, char *argv[])
{
#ifdef FAIL
	return BUILD_ASSERT_OR_ZERO(1 == 0);
#else
	return 0;
#endif
}