Files
Structive/core/tests/compile_fail/capability_mismatch.cpp
T
2026-08-08 21:21:23 +08:00

9 lines
318 B
C++

#include <structive/property/property.hpp>
struct Capability_Mismatch {
const int value{};
};
int main() {
auto schema = structive::object<Capability_Mismatch>(structive::field<&Capability_Mismatch::value>(structive::key<"value">, structive::read_write));
return static_cast<int>(schema.property_count);
}