]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/Analysis/inlining/test-always-inline-size-option.c
1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-inline-max-stack-depth=3 -analyzer-config ipa-always-inline-size=3 -verify %s
3 void clang_analyzer_eval(int);
26 clang_analyzer_eval(nested1() == 0); // expected-warning{{TRUE}}
29 // Make sure we terminate a recursive path.
37 int mutuallyRecursive1();
39 int mutuallyRecursive2() {
40 return mutuallyRecursive1();
43 int mutuallyRecursive1() {
44 return mutuallyRecursive2();
46 int callMutuallyRecursive() {
47 return mutuallyRecursive1();