Skip to content

Commit 893b86f

Browse files
committed
Add an annotate attribute to this test.
This makes it generate an llvm.global.annotation, which the backend should ignore.
1 parent 83706e8 commit 893b86f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/core/test_llvm_used.in

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include <emscripten.h>
33

44
extern "C" {
5+
__attribute__((annotate("hello attribute world")))
56
EMSCRIPTEN_KEEPALIVE void foobar(int x) {
67
printf("Worked! %d\n", x);
78
}

0 commit comments

Comments
 (0)