xref: /kernel/linux/linux-5.10/tools/testing/selftests/x86/trivial_64bit_program.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/tools/testing/selftests/x86/
18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Trivial program to check that we have a valid 64-bit build environment.
48c2ecf20Sopenharmony_ci * Copyright (c) 2015 Andy Lutomirski
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifndef __x86_64__
88c2ecf20Sopenharmony_ci# error wrong architecture
98c2ecf20Sopenharmony_ci#endif
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#include <stdio.h>
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciint main()
148c2ecf20Sopenharmony_ci{
158c2ecf20Sopenharmony_ci	printf("\n");
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci	return 0;
188c2ecf20Sopenharmony_ci}
19

Indexes created Thu Nov 07 10:32:03 CST 2024