diff --git a/compiler-rt/lib/ubsan/lit_tests/TypeCheck/vptr.cpp b/compiler-rt/lib/ubsan/lit_tests/TypeCheck/vptr.cpp index 109e7a824f58..3159f36eccf4 100644 --- a/compiler-rt/lib/ubsan/lit_tests/TypeCheck/vptr.cpp +++ b/compiler-rt/lib/ubsan/lit_tests/TypeCheck/vptr.cpp @@ -1,4 +1,4 @@ -// RUN: %clang -ccc-cxx -fsanitize=vptr %s -O3 -o %t +// RUN: %clang --driver-mode=g++ -fsanitize=vptr %s -O3 -o %t // RUN: %t rT && %t mT && %t fT && %t cT // RUN: %t rU && %t mU && %t fU && %t cU // RUN: %t rS && %t rV && %t oV