diff options
Diffstat (limited to 'clang/test/CodeGen/functions.c')
-rw-r--r-- | clang/test/CodeGen/functions.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/test/CodeGen/functions.c b/clang/test/CodeGen/functions.c index ad918263c5f..3b50df79f6d 100644 --- a/clang/test/CodeGen/functions.c +++ b/clang/test/CodeGen/functions.c @@ -27,5 +27,9 @@ void f1(); void f2(void) { f1(1, 2, 3); } -// RUN: grep 'define void @f1()' %t +// RUN: grep 'define void @f1()' %t && void f1() {} + +// RUN: grep 'define .* @f3' %t | not grep -F '...' +struct foo { int X, Y, Z; } f3() { +} |