summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/issue-54099-camel-case-underscore-types.rs
blob: b2bf87358a4d1658da28ae34a693676a5a327998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// check-pass

#![forbid(non_camel_case_types)]
#![allow(dead_code)]

// None of the following types should generate a warning
struct _X {}
struct __X {}
struct __ {}
struct X_ {}
struct X__ {}
struct X___ {}

fn main() { }