aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Frontend/stdin-input.c
blob: e8c890efa09ec0426e85b9d6c066728a28cccd5f (plain)
1
2
3
4
5
6
7
// RUN: cat %s | %clang -emit-llvm -g -S \
// RUN: -Xclang -main-file-name -Xclang test/foo.c -x c - -o - | FileCheck %s
// CHECK: ; ModuleID = 'test/foo.c'
// CHECK: source_filename = "test/foo.c"
// CHECK: !DIFile(filename: "test/foo.c"

int main(void) {}