mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
14 lines
315 B
C++
14 lines
315 B
C++
#include "swift/logging/SwiftAssert.h"
|
|
|
|
const std::string_view codeql::programName = "test";
|
|
|
|
static codeql::Logger& logger() {
|
|
static codeql::Logger ret{"main"};
|
|
return ret;
|
|
}
|
|
|
|
int main() {
|
|
CODEQL_ASSERT(false, "Format the int {} and string {} if this assertion fails.", 1234,
|
|
"myString");
|
|
}
|