diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-21 23:00:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-21 23:00:09 +0000 |
commit | 2f343dd5c83d659d52c217c251ffd1fbcd018110 (patch) | |
tree | 7f950e04b105ef649b85fd9287badaa542532925 /clang/test | |
parent | d79b5a85b059239f8af69c009a78ab10f49af2be (diff) | |
download | bcm5719-llvm-2f343dd5c83d659d52c217c251ffd1fbcd018110.tar.gz bcm5719-llvm-2f343dd5c83d659d52c217c251ffd1fbcd018110.zip |
fix PR4026: Clang can't codegen __func__ without implicit cast
llvm-svn: 69747
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/exprs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGen/exprs.c b/clang/test/CodeGen/exprs.c index 0e74b8c7732..f80ee419580 100644 --- a/clang/test/CodeGen/exprs.c +++ b/clang/test/CodeGen/exprs.c @@ -94,3 +94,8 @@ struct s6 { int f0; }; int f6(int a0, struct s6 a1, struct s6 a2) { return (a0 ? a1 : a2).f0; } + +// PR4026 +void f7() { + __func__; +} |