From 4c8b24812ddcd1dedaca343a6d4e76f91f398981 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Wed, 14 Oct 2009 18:03:49 +0000 Subject: Update clang to r84119. --- test/Parser/bad-control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/Parser/bad-control.c') diff --git a/test/Parser/bad-control.c b/test/Parser/bad-control.c index 6e59667c3549..0bdd179af215 100644 --- a/test/Parser/bad-control.c +++ b/test/Parser/bad-control.c @@ -1,9 +1,9 @@ /* RUN: clang-cc -fsyntax-only -verify %s */ -int foo() { +void foo() { break; /* expected-error {{'break' statement not in loop or switch statement}} */ } -int foo2() { +void foo2() { continue; /* expected-error {{'continue' statement not in loop statement}} */ } -- cgit v1.3