Debian Codegraph @

clang/test/SemaCXX/cxx03-cxx11-attr.cpp

raw
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; }