2026-08-28 10:56:50 +00:00
|
|
|
package fixtures;
|
|
|
|
|
|
|
|
|
|
class Strings {
|
|
|
|
|
|
|
|
|
|
// A `//` inside a literal is not a comment, and neither is an escaped quote.
|
|
|
|
|
void urls() {
|
|
|
|
|
String docs = "https://example.com/guide";
|
|
|
|
|
String quoted = "a \" then // not a comment";
|
|
|
|
|
char slash = '/';
|
|
|
|
|
}
|
|
|
|
|
}
|