diff --git a/clang/test/Analysis/expr-inspection.cpp b/clang/test/Analysis/expr-inspection.cpp --- a/clang/test/Analysis/expr-inspection.cpp +++ b/clang/test/Analysis/expr-inspection.cpp @@ -1,9 +1,17 @@ -// RUN: %clang_analyze_cc1 -x c++ -analyzer-checker=debug.ExprInspection -verify %s +// RUN: %clang_analyze_cc1 -x c++ -analyzer-checker=debug.ExprInspection \ +// RUN: -analyzer-config support-symbolic-integer-casts=false \ +// RUN: -verify %s + +// RUN: %clang_analyze_cc1 -x c++ -analyzer-checker=debug.ExprInspection \ +// RUN: -analyzer-config support-symbolic-integer-casts=true \ +// RUN: -verify %s // Self-tests for the debug.ExprInspection checker. -void clang_analyzer_denote(int x, const char *str); -void clang_analyzer_express(int x); +template +void clang_analyzer_denote(T x, const char *str); +template +void clang_analyzer_express(T x); // Invalid declarations to test basic correctness checks. void clang_analyzer_denote();