mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
8 lines
160 B
C++
8 lines
160 B
C++
struct Base {};
|
|
|
|
template <typename T>
|
|
struct Derived {friend class T;};
|
|
|
|
int main() { return sizeof(Derived<Base>); }
|
|
// semmle-extractor-options: --microsoft
|