File: compile_fail-expr.c

package info (click to toggle)
horst 5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 932 kB
  • sloc: ansic: 9,261; makefile: 109; sh: 28
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
}