[Flang] remove whole-archive option for AIX linker (#76039)
[llvm-project.git] / clang / test / CodeGenCXX / attr-annotate-constructor.cpp
blob7a115137f1a6733d3b793aea580d2249d4d3c9f1
1 // RUN: %clang %s -S -emit-llvm -target x86_64-unknown-linux -o -
3 // Test annotation attributes on constructors do not crash.
5 class Foo {
6 public:
7 [[clang::annotate("test")]] Foo() {}
8 };
10 Foo foo;