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

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

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