diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-07-09 22:21:32 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-07-09 22:21:32 +0000 |
commit | 833f42e32754515bc108b9b1ccccc6e373915a6c (patch) | |
tree | 95f951617e4fc9acf2d14ebaf3d3a863861b142f /test/CodeGenCXX/instantiate-blocks.cpp | |
parent | 5750b81beb0d508278011c410b01acabc9c7ca05 (diff) |
BlockDeclRefExpr of a dependent type must
be a dependent expression when its is built.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/instantiate-blocks.cpp')
-rw-r--r-- | test/CodeGenCXX/instantiate-blocks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/instantiate-blocks.cpp b/test/CodeGenCXX/instantiate-blocks.cpp index 7246f69e8e..c8f897de82 100644 --- a/test/CodeGenCXX/instantiate-blocks.cpp +++ b/test/CodeGenCXX/instantiate-blocks.cpp @@ -22,7 +22,7 @@ template <typename T, typename T1> void foo(T t, T1 r) T1 (^block)(char, T, T1, double) = ^ T1 (char ch, T arg, T1 arg2, double d1) { byref_block_arg = arg2; - return byref_block_arg + arg; }; + return byref_block_arg + block_arg + arg; }; void (^block2)() = ^{}; } |