mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
10 lines
205 B
C++
10 lines
205 B
C++
// semmle-extractor-options: --expect_errors
|
|
|
|
void containserror() {
|
|
#error An error!
|
|
}
|
|
|
|
void error_with_placeholder() {
|
|
const char *x = "Foo1 $@ bar1 $@ baz1";
|
|
const char *x = "Foo2 $@ bar2 $@ baz2";
|
|
} |