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

#include <assert.h>

void __attribute__((weak)) IAmSoWeak(int);

int main() {
  assert(IAmSoWeak==0);
  return 0;
}