mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-15 10:26:23 +00:00

In c++1z, static_assert is not required to have a StringLiteral message, where previously it was required. Update the AST Reader to be able to handle a null StringLiteral. llvm-svn: 281286
9 lines
212 B
C++
9 lines
212 B
C++
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps \
|
|
// RUN: -I%S/Inputs/static_assert -std=c++1z -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
#include "a.h"
|
|
|
|
S s;
|