summaryrefslogtreecommitdiff
path: root/tests/exec/hexa.cpp
blob: 70feac9c1c399783355b6c27f1422f94c7b2df3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>

int main() {
  std::cout << 0x100 << "\n";
  std::cout << 0xff << "\n";
  std::cout << 0xFF << "\n";
  int maxint = 0x7fffffff;
  std::cout << maxint << "\n";
  int x = 0xDEADBEEF;
  std::cout << x << "\n";
  x = 0xFFFFFFFF;
  std::cout << x << "\n";
  x = 0x80000000;
  std::cout << x << "\n";
}