Sign in
llvm
/
llvm-project
/
51a86e75ddf3eac3057c901bbe5e750dea62c7c1
/
.
/
clang
/
test
/
SemaCXX
/
cxx03-cxx11-attr.cpp
blob: 5a273c8fe2534a0ba3a7b9c4914f0f9fee081872 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++03 -fsyntax-only %s
// Ensure that __has_cpp_attribute and argument parsing work in C++03
#if !__has_cpp_attribute(nodiscard)
# error
#endif
[[
gnu
::
assume_aligned
(
4
)]]
void
*
g
()
{
return
__nullptr
;
}