mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-01 17:28:26 +00:00
2599294457
Summary: Removed unwanted --check-prefix=CHECK from numerous unit tests. Reviewers: t.p.northover, dblaikie, uweigand, MatzeB, tstellarAMD, mcrosier Subscribers: mcrosier, dsanders Differential Revision: http://reviews.llvm.org/D19279 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266834 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
404 B
C
23 lines
404 B
C
// REQUIRES: x86_64-linux
|
|
// RUN: %host_cc -O0 -g %s -o %t 2>&1
|
|
// RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s
|
|
|
|
#include <stdio.h>
|
|
|
|
int inc(int a) {
|
|
return a + 1;
|
|
}
|
|
|
|
int main() {
|
|
printf("%p\n", inc);
|
|
return 0;
|
|
}
|
|
|
|
// CHECK: inc
|
|
// CHECK: print_context.c:7
|
|
// CHECK: 5 : #include
|
|
// CHECK: 6 :
|
|
// CHECK: 7 >: int inc
|
|
// CHECK: 8 : return
|
|
// CHECK: 9 : }
|