#include <iostream>

struct foo
{
    static constexpr int value = 42;
};

void bar(const int* p) { std::cout << p << "\n"; }

int main() { bar(&foo::value); }
