Issue 146520
Summary gnu::cleanup can call gnu::error function
Labels
Assignees
Reporter xBZZZZ
    clang compiles this with no error:
```c
[[gnu::error("error please")]]
void cleaner_function(char*);

void asdf(void){
	[[gnu::cleanup(cleaner_function)]]
	char x;
}
```
clang is x86_64 20.1.7 downloaded from https://mirrors.edge.kernel.org/pub/tools/llvm/
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to