about summary refs log tree commit diff homepage
path: root/test/Feature/IndirectCallToExternal.c
blob: 4603213baae87c58d09f6bb603822e0c9cc687ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %llvmgcc %s -emit-llvm -g -c -o %t1.bc
// RUN: %klee %t1.bc

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>

int main() {
  int (*scmp)(char*,char*) = strcmp;

  assert(scmp("hello","hi") < 0);

  return 0;
}