mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
28ddad394b
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 llvm-svn: 266834
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 : }
|