Bug#922731: llvm-toolchain-7: Unjustified API breakage introduced by Debian patch

Dun Hum bitter.taste at gmx.com
Wed Feb 20 08:19:59 GMT 2019


> Would you have a testcase which shows the issue? This to make sure we 
> don't regress again
> in the future.

The simplest test case is the following one, it only checks that the enum value exist and has the correct
name.

```
#include <llvm/ADT/Triple.h>

int main()
{
    (void)llvm::Triple::KFreeBSD;
    return 0;
}
```

Compile with `g++ $(llvm-config --cflags) test.cpp` and make sure `$?` is zero.

Thank you for the prompt response.

Have a nice day,
A.C.



More information about the Pkg-llvm-team mailing list