File: cxx11-test-cstdint.cpp

package info (click to toggle)
libvmime 0.9.2-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,604 kB
  • sloc: cpp: 55,417; ansic: 822; makefile: 88; sh: 8
file content (11 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
#include <cstdint>

int main()
{
	bool test =
		(sizeof(int8_t) == 1) &&
		(sizeof(int16_t) == 2) &&
		(sizeof(int32_t) == 4) &&
		(sizeof(int64_t) == 8);
	return test ? 0 : 1;
}