☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
SemaCXX
/
cxx03-cxx11-attr.cpp
☽
☼
clang/test/SemaCXX/cxx03-cxx11-attr.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -std=c++03 -fsyntax-only %s
2
3
// Ensure that __has_cpp_attribute and argument parsing work in C++03
4
5
#if !__has_cpp_attribute(nodiscard)
6
# error
7
#endif
8
9
[[gnu::assume_aligned(4)]] void* g() { return __nullptr; }