summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/unwind-attr.c
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-03 22:49:45 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-03 22:49:45 +0000
commitf8280e723dd4b31bd00f5c2fade69bce095d9191 (patch)
tree6ff7a08f92166a55847d1d3eb4eb9747ece3361b /clang/test/CodeGen/unwind-attr.c
parent53befe7bc10d1f544466f6abdb13373201050a8e (diff)
downloadbcm5719-llvm-f8280e723dd4b31bd00f5c2fade69bce095d9191.tar.gz
bcm5719-llvm-f8280e723dd4b31bd00f5c2fade69bce095d9191.zip
Fix a warning on a test.
llvm-svn: 110165
Diffstat (limited to 'clang/test/CodeGen/unwind-attr.c')
-rw-r--r--clang/test/CodeGen/unwind-attr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGen/unwind-attr.c b/clang/test/CodeGen/unwind-attr.c
index 7b34ae207e1..459176cdf77 100644
--- a/clang/test/CodeGen/unwind-attr.c
+++ b/clang/test/CodeGen/unwind-attr.c
@@ -13,4 +13,5 @@ int test0(void) {
// CHECK: define [[INT:i.*]] @test1() nounwind {
// CHECK-NOEXC: define [[INT:i.*]] @test1() nounwind {
int test1(void) {
+ return 0;
}
OpenPOWER on IntegriCloud