diff --git a/test/FrontendC++/ptr-to-method-devirt.cpp b/test/FrontendC++/ptr-to-method-devirt.cpp index a5ca5c76559..654df53fc1b 100644 --- a/test/FrontendC++/ptr-to-method-devirt.cpp +++ b/test/FrontendC++/ptr-to-method-devirt.cpp @@ -1,6 +1,7 @@ // PR1602 // RUN: %llvmgxx -S %s -o - -O3 | not grep ptrtoint -// RUN: %llvmgxx -S %s -o - -O3 | grep getelementptr | count 1 +// RUN: %llvmgxx -S %s -o - -O3 | not grep getelementptr +// RUN: %llvmgxx -S %s -o - -O3 | grep bitcast struct S { virtual void f(); };