Skip to content

Commit c555add

Browse files
committed
liberty: Test non-ascii characters
1 parent ce74404 commit c555add

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

tests/liberty/non-ascii.lib

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// The parser used to choke on the copyright symbol even in comments
2+
// © ® ø Φ
3+
library(dummy) {
4+
cell(buffer) {
5+
area : 1 ;
6+
pin(A) {
7+
direction : input ;
8+
}
9+
pin(Y) {
10+
direction : output ;
11+
function : "A" ;
12+
}
13+
}
14+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
library(dummy) {
2+
cell(buffer) {
3+
area : 1 ;
4+
pin(A) {
5+
direction : input ;
6+
}
7+
pin(Y) {
8+
direction : output ;
9+
function : "A" ;
10+
}
11+
}
12+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module buffer (A, Y);
2+
input A;
3+
output Y;
4+
assign Y = A; // "A"
5+
endmodule

0 commit comments

Comments
 (0)