repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Flang] remove whole-archive option for AIX linker (#76039)
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
attr-annotate-constructor.cpp
blob
7a115137f1a6733d3b793aea580d2249d4d3c9f1
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
;