Issue 177200
Summary can call gnu::error function with -fexceptions
Labels new issue
Assignees
Reporter xBZZZZ
    `clang -fexceptions` compiles this with no error:
```c
void cleaner_function(char*);

[[gnu::error("error please")]]
void error_function(void);

void asdf(void){
	[[gnu::cleanup(cleaner_function)]]
	char x;

	error_function();
}
```
clang is x86_64 22.1.0-rc1 downloaded from https://mirrors.edge.kernel.org/pub/tools/llvm/
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to