diff options
Diffstat (limited to 'clang/test/CodeGenCXX/reference-field.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/reference-field.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/reference-field.cpp b/clang/test/CodeGenCXX/reference-field.cpp index 03120292595..aa34fa3bd2c 100644 --- a/clang/test/CodeGenCXX/reference-field.cpp +++ b/clang/test/CodeGenCXX/reference-field.cpp @@ -1,6 +1,8 @@ -// RUN: %clang_cc1 -emit-llvm -o - %s -O2 | grep "@_Z1bv" +// RUN: %clang_cc1 -emit-llvm -cxx-abi itanium -o - %s -O2 | FileCheck %s // Make sure the call to b() doesn't get optimized out. extern struct x {char& x,y;}y; int b(); int a() { if (!&y.x) b(); } + +// CHECK: @_Z1bv |