about summary refs log tree commit diff
path: root/tests/ui/parser/extern-abi-raw-strings.rs
blob: cad7943ed625b97a5d8f78938aaa8eb3ab95c917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ check-pass

// Check that the string literal in `extern lit` will accept raw strings.

fn main() {}

extern r#"C"# fn foo() {}

extern r#"C"# {
    fn bar();
}

type T = extern r#"C"# fn();