blob: 6b6e6748d504555dad54b235ecf43d0f736d96b0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// REQUIRES: lt-llvm-15.0
// Different LLVM IR syntax with opaque ptr - it's a nullptr directly, no constant
// RUN: %clangxx %s -emit-llvm -c -o %t1.bc
// RUN: rm -rf %t.klee-out
// RUN: %klee --output-dir=%t.klee-out %t1.bc 2>&1 | FileCheck %s
// CHECK: Using zero size array fix for landingpad instruction filter
// Check that the zero size array in the landing pad filter does not crash KLEE
int p() throw() { throw 'a'; }
int main(int argc, char **) {
if (argc < 3) {
return 0;
}
try {
return p();
} catch (...) {
return 1;
}
}
|