llvm-project/clang/test/SemaCXX/MicrosoftCompatibilityNoExc...

10 lines
173 B
C++

// RUN: %clang_cc1 %s -fsyntax-only -verify -fms-compatibility
// expected-no-diagnostics
// PR13153
namespace std {}
class type_info {};
void f() {
(void)typeid(int);
}