diff options
Diffstat (limited to 'test/CodeGenCXX/stmtexpr.cpp')
| -rw-r--r-- | test/CodeGenCXX/stmtexpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/stmtexpr.cpp b/test/CodeGenCXX/stmtexpr.cpp index 5bd9908d6c257..4586a3c38fffb 100644 --- a/test/CodeGenCXX/stmtexpr.cpp +++ b/test/CodeGenCXX/stmtexpr.cpp @@ -173,7 +173,7 @@ extern "C" int cleanup_exit_lvalue_local(bool cond) { _Complex float bar_complex(A, int); extern "C" int cleanup_exit_complex(bool b) { _Complex float v = bar_complex(A(1), ({ if (b) return 42; 13; })); - return v; + return (float)v; } // CHECK-LABEL: define{{.*}} i32 @cleanup_exit_complex({{.*}}) |
