File: cpp.actual

package info (click to toggle)
golang-github-alecthomas-chroma 0.8.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,332 kB
  • sloc: python: 228; javascript: 79; makefile: 20
file content (26 lines) | stat: -rw-r--r-- 292 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "a"
#include <b>

[[nodiscard]] void foo() noexcept;
void foo();

constexpr class {} a;

enum class E { A, B };
enum class [[nodiscard]] E { A, B };

enum class {
  a, b,
  c,
} e;

enum E { A, B };

class A {
  void foo();
  void bar();
};

int main() {
    return 0 + 1'3 + 1.4;
}