xref: /linux/tools/testing/selftests/x86/trivial_64bit_program.c (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1 /*
2  * Trivial program to check that we have a valid 64-bit build environment.
3  * Copyright (c) 2015 Andy Lutomirski
4  * GPL v2
5  */
6 
7 #ifndef __x86_64__
8 # error wrong architecture
9 #endif
10 
11 #include <stdio.h>
12 
13 int main()
14 {
15 	printf("\n");
16 
17 	return 0;
18 }
19