LGTM
================
Comment at: test/CodeGenCXX/typeid-should-throw.cpp:62-64
@@ +61,5 @@
+
+void f11(A *x) {
+ A t;
+ A &r = t;
+ typeid(*x ?: r);
----------------
You could make `t` and `r` parameters to match the style of other tests.
http://reviews.llvm.org/D4592