aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/functions.c')
-rw-r--r--test/CodeGen/functions.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGen/functions.c b/test/CodeGen/functions.c
index ad918263c5..3b50df79f6 100644
--- a/test/CodeGen/functions.c
+++ b/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() {
+}