☰
Debian Codegraph
@
1:19.1.7-22
1:19.1.7-20
/
/
clang
/
test
/
CodeGenCXX
/
attr-annotate-constructor.cpp
☽
☼
clang/test/CodeGenCXX/attr-annotate-constructor.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang %s -S -emit-llvm -target x86_64-unknown-linux -o -
2
3
// Test annotation attributes on constructors do not crash.
4
5
class Foo {
6
public:
7
[[clang::annotate("test")]] Foo() {}
8
};
9
10
Foo foo;