about summary refs log tree commit diff homepage
path: root/test/VectorInstructions/memset.c
blob: 73684e5b3321030bbe8fd142a26083bae4727c6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: rm -rf %t.klee-out
// RUN: %clang %s -emit-llvm %O0opt -g -c -o %t1.bc
// RUN: %klee --output-dir=%t.klee-out --optimize=true --exit-on-error %t1.bc

#include <string.h>

int main(int argc, char** argv) {
  char arr[1000];
  memset(arr, 1, sizeof(arr));
  return arr[argc];
}