about summary refs log tree commit diff homepage
path: root/test/Runtime/Uclibc/Environ.c
blob: 63892db541bd0c6393f37b624943b773b70c1ffb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgcc %s -emit-llvm -g -c -o %t1.bc
// RUN: %klee --libc=uclibc --exit-on-error %t1.bc

#include <assert.h>

int main() {
  printf("HOME: %s\n", getenv("HOME"));
  assert(getenv("HOME") != 0);
  return 0;
}