mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 00:09:23 -06:00
61 lines
2.1 KiB
JSON
61 lines
2.1 KiB
JSON
{
|
|
"sessions": [
|
|
{
|
|
"conformanceview": false,
|
|
"id": 1,
|
|
"language": "c++",
|
|
"source": "\ntemplate<typename T>\nconcept TheSameAndAddable = requires(T a, T b) {\n {a+b} -> T;\n};\n\ntemplate<TheSameAndAddable T>\nT sum(T x, T y) {\n return x + y;\n}\n\n#include <string>\n\nint main() {\n int z = 0;\n int w;\n\n return sum(z, w);\n}\n",
|
|
"compilers": [
|
|
{
|
|
"_internalid": 1,
|
|
"id": "clang_concepts",
|
|
"options": "-std=c++1z -Wuninitialized -O3",
|
|
"filters": {
|
|
"binary": false,
|
|
"commentOnly": true,
|
|
"demangle": true,
|
|
"directives": true,
|
|
"execute": false,
|
|
"intel": true,
|
|
"labels": true,
|
|
"trim": false,
|
|
"debugCalls": false
|
|
},
|
|
"libs": [],
|
|
"specialoutputs": [
|
|
"compilerOutput",
|
|
"ast",
|
|
"opt",
|
|
"cfg"
|
|
],
|
|
"tools": [],
|
|
"overrides": []
|
|
},
|
|
{
|
|
"_internalid": 2,
|
|
"id": "g82",
|
|
"options": "",
|
|
"filters": {
|
|
"binary": false,
|
|
"commentOnly": true,
|
|
"demangle": true,
|
|
"directives": true,
|
|
"execute": false,
|
|
"intel": true,
|
|
"labels": true,
|
|
"trim": false,
|
|
"debugCalls": false
|
|
},
|
|
"libs": [],
|
|
"specialoutputs": [
|
|
"gccdump"
|
|
],
|
|
"tools": [],
|
|
"overrides": []
|
|
}
|
|
],
|
|
"executors": []
|
|
}
|
|
],
|
|
"trees": []
|
|
} |