mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-23 07:52:06 +00:00
ffa532d7a1
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;
|