• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test that errors in source files are transparently reported by
2; sz-clang.py and sz-clang++.py
3
4; RUN: not %S/../../pydir/sz-clang.py -fsanitize-address %S/Input/calloc_err.c \
5; RUN:     2>&1 | FileCheck %s
6
7; RUN: not %S/../../pydir/sz-clang\+\+.py -fsanitize-address \
8; RUN:     %S/Input/calloc_err.c 2>&1 | FileCheck %s
9
10; CHECK-LABEL: Input/calloc_err.c:1:18: warning:
11; CHECK-SAME: implicit declaration of function 'not_defined' is invalid in C99
12