summaryrefslogtreecommitdiffstats
path: root/clang/test/utils/update_cc_test_checks/Inputs/global-hex-value-regex.c
blob: ad4c109c45ec59760f4cec54bc0314c95a4d7690 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s

void foo() {
  static int hex = 0x10;
  static int dec = 10;
}
void bar() {
  static int hex = 0x20;
  static int dec = 20;
}