================
@@ -1,8 +1,8 @@
 // RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s -O2 | 
FileCheck %s
 
-// Make sure the call to b() doesn't get optimized out.
+// Make sure the call to b() is eliminated.
 extern struct x {char& x,y;}y;
 int b();      
 int a() { if (!&y.x) b(); }
----------------
efriedma-quic wrote:

Looking at the original commit, maybe change this to `char *a() { return &y.x; 
}`.  Or just delete the test, since we have plenty of other test coverage for 
references.

https://github.com/llvm/llvm-project/pull/98746
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to