Commit Graph

4 Commits

Author SHA1 Message Date
Alp Toker 9ad7e0d7b5 Remove an old stdio.h include from the invalid-array test
This should get it up and running on win and other builders without system
headers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196738 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-08 22:37:30 +00:00
Alp Toker 05e62fb1ae Re-enable verification of test and update outdated diag checks
Going by PR6913 it looks like this one can no longer reach CodeGen so remove
the redundant -emit-llvm case and treat it as an ordinary Sema test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196736 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-08 22:22:26 +00:00
Fariborz Jahanian d237d2e6b8 c language: diagnose use of "[*]" on any array dimension
in the parameter of a function definition. Currently,
it crashes in irgen if it is on other than the 1st dimension.
// rdar://13705391


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180732 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-29 22:01:25 +00:00
Eric Christopher 7c634a04a2 Bring over a test from llvm/test/FrontendC that is for Sema and not CodeGen.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135753 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-22 07:26:22 +00:00