Debian Codegraph @

clang/test/CodeGenCXX/attr-annotate-constructor.cpp

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