llvm-for-llvmta/tools/clang/test/SemaCXX/MicrosoftCompatibilityNoExc...

10 lines
173 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -fsyntax-only -verify -fms-compatibility
// expected-no-diagnostics
// PR13153
namespace std {}
class type_info {};
void f() {
(void)typeid(int);
}