This commit fixes a crash that occurs when -print-decl-contexts AST consumer tries to print an unhandled declaration. rdar://19467234 Differential Revision: https://reviews.llvm.org/D26964 llvm-svn: 290886
10 lines
386 B
C++
10 lines
386 B
C++
// RUN: %clang_cc1 -std=c++14 -fsyntax-only %s
|
|
// RUN: %clang_cc1 -std=c++14 -ast-print %s -o %t.1.cpp
|
|
// RUN: %clang_cc1 -std=c++14 -ast-print %t.1.cpp -o %t.2.cpp
|
|
// RUN: diff %t.1.cpp %t.2.cpp
|
|
// RUN: %clang_cc1 -std=c++14 -ast-dump %s
|
|
// RUN: %clang_cc1 -std=c++14 -print-decl-contexts %s
|
|
// RUN: %clang_cc1 -std=c++14 -fdump-record-layouts %s
|
|
|
|
#include "cxx-language-features.inc"
|