Fix test failure from previous change.

llvm-svn: 173899
This commit is contained in:
Richard Smith 2013-01-30 06:27:44 +00:00
parent debc59d1f3
commit d4cca6b2db
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ inline int main() {
return 0;
}
// expected-warning@+6 {{function 'main' declared 'noreturn' should not return}}
// expected-error@+3 {{redefinition of 'main'}}
// expected-warning@+2 {{'main' is not allowed to be declared _Noreturn}}
// expected-note@+1 {{remove '_Noreturn'}}