[ubsan] Invoke test program using %run.

llvm-svn: 250063
This commit is contained in:
Filipe Cabecinhas 2015-10-12 16:33:40 +00:00
parent 26479c3883
commit 150def9787
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
// RUN: %clangxx -fsanitize=integer %s -o %t
// RUN: %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE
// RUN: %env_ubsan_opts=report_error_type=1 %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE
// RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE
// REQUIRES: ubsan-asan
#include <stdint.h>