summaryrefslogtreecommitdiff
path: root/test/LLVMC/C/sink.c
blob: c4f9beba8c38aa5b02ba38fcf1ad6a6c500caa63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Check that the 'sink' options work.
 * RUN: llvmc -v -Wall %s -o %t |& grep "Wall"
 * RUN: %abs_tmp | grep hello
 * XFAIL: vg_leak
 */

#include <stdio.h>

int main() {
    printf("hello\n");
    return 0;
}