blob: a21693c5a92403e992b6503c24ca03e4d9212400 [file] [log] [blame]
//Test that DSA doesn't crash when processing an indirect call to an external function.
//RUN: clang -S -emit-llvm -c %s -o %t.bc
//RUN: dsaopt %t.bc -dsa-td -disable-output
extern void func(void);
int main() {
void (*fp)(void) = func;
fp();
return 0;
}