commit | 30eb5fa3ba0a3605db877c158a7d115d679147c2 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Sat Aug 21 02:46:28 2010 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Sat Aug 21 02:46:28 2010 +0000 |
tree | 8602ac90c0803f93a5d553176f09c649212495cc | |
parent | 25f9aaedc62e67dac8a59caeb4d357245b56cdf7 [diff] [blame] |
Improve test coverage. llvm-svn: 111712
diff --git a/clang/test/CodeGenCXX/expr.cpp b/clang/test/CodeGenCXX/expr.cpp index 775169d..33e8e63 100644 --- a/clang/test/CodeGenCXX/expr.cpp +++ b/clang/test/CodeGenCXX/expr.cpp
@@ -28,3 +28,10 @@ test4A a; (a.j = 2) = 3; } + +// Incomplete type in conditional operator. +// Check operations on incomplete types. +struct s5; +struct s5 &f5_0(bool cond, struct s5 &a, struct s5 &b) { + return cond ? a : b; +}