aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/initialize-noreturn.c
AgeCommit message (Collapse)Author
2011-10-05c: assignment/init of a function pointer whose function(s)Fariborz Jahanian
return to one which does not return (has noreturn attribute) should warn as it is an unsafe assignment. // rdar://10095762 c++ already handles this. This is the c version. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141141 91177308-0d34-0410-b5e6-96231b3b80d8