about summary refs log tree commit diff homepage
path: root/test/Feature/ExternalWeakLinkage.c
blob: fd70884ab4fef62fd72711631e979341827d25c0 (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: 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;
}