Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions C++.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,9 @@ int main()
{
int b = 5;
{
//g++编译报错
//gcc编译报错
static int c = b;
//gcc编译不报错
//g++编译不报错
static int c = b;
}
return 0;
Expand Down