mirror of
https://github.com/github/codeql.git
synced 2026-06-13 17:01:10 +02:00
13 lines
133 B
C++
13 lines
133 B
C++
namespace {
|
|
template <typename T> T f() {
|
|
T::x;
|
|
return {};
|
|
}
|
|
struct s {
|
|
static int x;
|
|
};
|
|
struct t {
|
|
s x = f<const s>();
|
|
};
|
|
}
|