Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ Class
Class
Class
test/core/test_tinyfuncstr.cpp:10–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
#include <stdio.h>
9
10
struct Class {
11
static const char *name1() { return
"nameA"
; }
12
const char *name2() { return
"nameB"
; }
13
};
14
15
int main() {
16
printf(
"*%s,%s*\n"
, Class::name1(), Class().name2());
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
1
main
Function · 0.56