about summary refs log tree commit diff homepage
path: root/test/Feature/ExternalWeakLinkage.c
blob: c20081360418f6073ebe197effab0f4fdb8f1ebb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %llvmgcc %s -emit-llvm -g -c -o %t1.bc
// RUN: %klee --exit-on-error %t1.bc

#include <assert.h>

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

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