commit | e61315226e5dc3db9292e78d220d19141602ae8a | [log] [tgz] |
---|---|---|
author | Logan Chien <loganchien@google.com> | Thu Mar 07 22:44:41 2013 +0800 |
committer | Logan Chien <loganchien@google.com> | Thu Mar 07 22:44:41 2013 +0800 |
tree | 0785c756776f1403fb5779cb3aa7a3f8620c3025 | |
parent | 2537dedfc86b2340abae1697f58f3dbfd5a6dcfe [diff] |
Refine pr23299 exception test. Several functions with non-void return type do not have return statement. This will result in undefined behavior in C++. In C++, the undefined behavior will raised before the end of the function. Clang 3.2 or newer version will emit an unreachable instruction in this case, which will result in SEGV. Change-Id: I3064b04bb68b42caf2dde807a10047ef6b5a1d46