diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-08-21 02:46:28 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-21 02:46:28 +0000 |
commit | 30eb5fa3ba0a3605db877c158a7d115d679147c2 (patch) | |
tree | 8602ac90c0803f93a5d553176f09c649212495cc /clang/test/CodeGenCXX/expr.cpp | |
parent | 25f9aaedc62e67dac8a59caeb4d357245b56cdf7 (diff) | |
download | bcm5719-llvm-30eb5fa3ba0a3605db877c158a7d115d679147c2.tar.gz bcm5719-llvm-30eb5fa3ba0a3605db877c158a7d115d679147c2.zip |
Improve test coverage.
llvm-svn: 111712
Diffstat (limited to 'clang/test/CodeGenCXX/expr.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/expr.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/expr.cpp b/clang/test/CodeGenCXX/expr.cpp index 775169d9578..33e8e63de2f 100644 --- a/clang/test/CodeGenCXX/expr.cpp +++ b/clang/test/CodeGenCXX/expr.cpp @@ -28,3 +28,10 @@ int test4() { 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; +} |