mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 19:45:40 -04:00

Modify these tests to ignore the source file name when looking for the expected string. It was already catching the source file name once via the ModuleID, and will catch it another time with an impending change to LLVM to serialize out the module's SourceFileName. llvm-svn: 264868
18 lines
261 B
C
18 lines
261 B
C
// RUN: %clang_cc1 %s -emit-llvm -o - | grep sret | grep -v 'sret.c' | count 4
|
|
|
|
struct abc {
|
|
long a;
|
|
long b;
|
|
long c;
|
|
long d;
|
|
long e;
|
|
};
|
|
|
|
struct abc foo1(void);
|
|
struct abc foo2();
|
|
|
|
void bar() {
|
|
struct abc dummy1 = foo1();
|
|
struct abc dummy2 = foo2();
|
|
}
|