diff options
Diffstat (limited to 'test/CodeGen/mrtd.c')
-rw-r--r-- | test/CodeGen/mrtd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/mrtd.c b/test/CodeGen/mrtd.c index 8fa7cf0..f929d4c 100644 --- a/test/CodeGen/mrtd.c +++ b/test/CodeGen/mrtd.c @@ -1,4 +1,6 @@ -// RUN: %clang_cc1 -mrtd -triple i386-unknown-unknown -std=c89 -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -mrtd -triple i386-unknown-unknown -std=c89 -emit-llvm -o - %s 2>&1 | FileCheck %s + +// CHECK: mrtd.c:10:3: warning: function with no prototype cannot use the stdcall calling convention void baz(int arg); |