aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-07-26 14:35:56 +0000
committerSteve Naroff <snaroff@apple.com>2007-07-26 14:35:56 +0000
commit49ab97761be7eb5ca47a5832add03b9df4c53cb3 (patch)
tree2f66642aa2848eca38be85281c4ed25e57a2e39c /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parente9d738cefc414db00b589f981da0613fa656787b (diff)
downloadllvm-49ab97761be7eb5ca47a5832add03b9df4c53cb3.zip
llvm-49ab97761be7eb5ca47a5832add03b9df4c53cb3.tar.gz
llvm-49ab97761be7eb5ca47a5832add03b9df4c53cb3.tar.bz2
Fix the following bogus diagnostic...reported by Jeroen.
#include <stdio.h> int main(void) { int test = 0; printf("Type is %s\n", (test >= 1 ? "short" : "char")); return (0); } It comes up with a diagnostic that's misleading upon first read. t.c:7:36: error: incompatible operand types ('char *' and 'char *') printf("Type is %s\n", (test >= 1 ? "short" : "char")); ^ ~~~~~~~ ~~~~~~ 1 diagnostic generated. llvm-svn: 40526
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions