================
@@ -129,6 +129,55 @@ class MyClass
   }
 };
 
+// Exported function without body - not used
+export void exportedFunctionUnused(float f);
----------------
python3kgae wrote:

Will there be an error if has export when declare like
```
export void export_mismatch(float f);
```
But without export when define like
```
void export_mismatch(float f) { return f; }
```

https://github.com/llvm/llvm-project/pull/97352
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to