summaryrefslogtreecommitdiffstats
path: root/clang/test/utils/update_cc_test_checks/Inputs/on_the_fly_arg_change.c
blob: 8956e6b52a210c98b75a5fc7051b8de9b5a5598e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// RUN: %clang_cc1 -triple=x86_64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s

int checks_please() {
  return 1;
}

// UTC_ARGS: --disable

int no_checks_please() {
  // Manual CHECK line should be retained:
  // CHECK: manual check line
  return -1;
}

// UTC_ARGS: --enable


int checks_again() {
  return 2;
}